ansible/tasks/update_install_freebsd.yml

15 lines
333 B
YAML
Raw Permalink Normal View History

2024-06-12 14:47:43 +02:00
# vim:ts=2:sw=2:et:filetype=ansible
---
- name: Install updates
2024-06-12 14:47:43 +02:00
ansible.builtin.command:
cmd: /usr/sbin/freebsd-update install
2024-06-12 14:47:43 +02:00
changed_when: true
environment:
PAGER: cat
register: installupdates
2024-06-12 14:47:43 +02:00
- name: Show results of install updates
ansible.builtin.debug:
verbosity: 1
msg: '{{ installupdates.stdout }}'