Files
ansible-playbooks/roles/os-updates/tasks/upgrade_packages.yml
T

17 lines
393 B
YAML

- name: Run preflight logging
include_tasks: logging_preflight.yml
- name: Upgrade all installed packages
apt:
upgrade: full
update_cache: yes
register: os_update_upgrade_result
notify:
- apt cleanup
- apt autoremove
- name: Run reboot decision and reboot if required
include_tasks: reboot.yml
- name: Run postflight logging
include_tasks: logging_postflight.yml