Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 854e65e0c1 |
2 changed files with 1 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# Role `apt_update_and_upgrade`
|
# Role `apt_update_and_upgrade`
|
||||||
|
|
||||||
This role does an `apt-get update`, `apt-get dist-upgrade`, `apt-get autoremove` and a potential reboot (if packages got upgraded) on the specified hosts.
|
This role does an `apt-get update`, `apt-get dist-upgrade` and a potential reboot (if packages got upgraded) on the specified hosts.
|
||||||
|
|
||||||
## `hosts`
|
## `hosts`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,3 @@
|
||||||
register: apt_update_and_upgrade__upgrade_result
|
register: apt_update_and_upgrade__upgrade_result
|
||||||
notify:
|
notify:
|
||||||
- reboot the system
|
- reboot the system
|
||||||
|
|
||||||
- name: Remove dependencies that are no longer required
|
|
||||||
ansible.builtin.apt:
|
|
||||||
autoremove: true
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue