Compare commits

..

3 Commits

2 changed files with 10 additions and 2 deletions

View File

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

View File

@ -1,7 +1,14 @@
- name: 'Upgrade the OS (apt-get dist-upgrade)' - name: 'Update apt cache if older than {{apt_cache_max_age_second}}s'
ansible.builtin.apt: ansible.builtin.apt:
update_cache: 'yes' update_cache: 'yes'
cache_valid_time: '{{ apt_cache_max_age_second }}'
- name: 'Upgrade the OS (apt-get dist-upgrade)'
ansible.builtin.apt:
upgrade: 'dist' upgrade: 'dist'
force_apt_get: 'yes'