June
e3a29c422a
Some checks failed
/ Ansible Lint (push) Failing after 1m37s
This fixes ansible-lint no-handler complaints.
13 lines
332 B
YAML
13 lines
332 B
YAML
- name: update, upgrade and potentially reboot
|
|
become: true
|
|
block:
|
|
- name: apt-get update
|
|
ansible.builtin.apt:
|
|
update-cache: true
|
|
|
|
- name: apt-get dist-upgrade
|
|
ansible.builtin.apt:
|
|
upgrade: dist
|
|
register: apt_update_and_upgrade__upgrade_result
|
|
notify:
|
|
- reboot the system
|