Compare commits
No commits in common. "d760575d6e61f695a4537bcbf94e4201af79a6c3" and "897d5c0bc69c50da75b23e2ff98bd507450275b2" have entirely different histories.
d760575d6e
...
897d5c0bc6
@ -1 +0,0 @@
|
|||||||
apt_cache_max_age_second: '600'
|
|
@ -1,14 +1,7 @@
|
|||||||
- name: 'Update apt cache if older than {{apt_cache_max_age_second}}s'
|
|
||||||
ansible.builtin.apt:
|
|
||||||
update_cache: 'yes'
|
|
||||||
cache_valid_time: '{{ apt_cache_max_age_second }}'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: 'Upgrade the OS (apt-get dist-upgrade)'
|
- name: 'Upgrade the OS (apt-get dist-upgrade)'
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
|
update_cache: 'yes'
|
||||||
upgrade: 'dist'
|
upgrade: 'dist'
|
||||||
force_apt_get: 'yes'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -21,4 +14,4 @@
|
|||||||
|
|
||||||
- name: 'Reboot if required'
|
- name: 'Reboot if required'
|
||||||
when: '(reboot_required_file.stat.exists == true)'
|
when: '(reboot_required_file.stat.exists == true)'
|
||||||
ansible.builtin.reboot:
|
ansible.builtin.reboot:
|
Loading…
x
Reference in New Issue
Block a user