cellinfo
/
ansible.apt
Archived
2
0
Fork 0

Ensure to update cache before install unattended-upgrades.

This commit is contained in:
Jeremy Gardais 2017-08-18 14:49:43 +02:00
parent 12c9d45adc
commit 33ff5d9804
2 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,9 @@
## v1.0.1
### Fix
* Ensure to update cache before install unattended-upgrades.
## v1.0 ## v1.0
### Features ### Features

View File

@ -14,6 +14,7 @@
apt: apt:
pkg: "unattended-upgrades" pkg: "unattended-upgrades"
state: "{{ 'latest' if apt_unattended_upgrades else 'absent' }}" state: "{{ 'latest' if apt_unattended_upgrades else 'absent' }}"
update_cache: yes
when: apt_unattended_upgrades when: apt_unattended_upgrades
- name: INSTALL purge useless packages - name: INSTALL purge useless packages