builder3: change apt cache to dist-upgrade and optionally reboot
This commit is contained in:
parent
4f1e2a6938
commit
56495c7059
|
@ -5,9 +5,15 @@
|
|||
tasks:
|
||||
- name: Common system setup
|
||||
block:
|
||||
- name: Update apt cache
|
||||
- name: Update all packages: dist-upgrade
|
||||
register: system_update
|
||||
apt:
|
||||
update_cache: yes
|
||||
upgrade: dist
|
||||
|
||||
- name: Reboot after system upgrade, when changed
|
||||
when: system_update.changed
|
||||
reboot:
|
||||
|
||||
- name: Install debconf
|
||||
package:
|
||||
|
|
Loading…
Reference in a new issue