Compare commits

..

No commits in common. "d760575d6e61f695a4537bcbf94e4201af79a6c3" and "897d5c0bc69c50da75b23e2ff98bd507450275b2" have entirely different histories.

2 changed files with 2 additions and 10 deletions

View File

@ -1 +0,0 @@
apt_cache_max_age_second: '600'

View File

@ -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)'
ansible.builtin.apt:
update_cache: 'yes'
upgrade: 'dist'
force_apt_get: 'yes'
@ -21,4 +14,4 @@
- name: 'Reboot if required'
when: '(reboot_required_file.stat.exists == true)'
ansible.builtin.reboot:
ansible.builtin.reboot: