mirror of
https://github.com/luzifer-ansible/ubuntu-unattended-upgrades.git
synced 2024-12-22 17:51:18 +00:00
Fix deprecation warning (Ansible 2.7)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
ac264ae84a
commit
4bc9f9062e
2 changed files with 5 additions and 6 deletions
|
@ -13,7 +13,7 @@ galaxy_info:
|
||||||
# - Apache
|
# - Apache
|
||||||
# - CC-BY
|
# - CC-BY
|
||||||
license: Apache
|
license: Apache
|
||||||
min_ansible_version: 1.3
|
min_ansible_version: 2.7
|
||||||
#
|
#
|
||||||
# Below are all platforms currently available. Just uncomment
|
# Below are all platforms currently available. Just uncomment
|
||||||
# the ones that apply to your role. If you don't see your
|
# the ones that apply to your role. If you don't see your
|
||||||
|
|
|
@ -2,12 +2,11 @@
|
||||||
|
|
||||||
- name: Install required packages for autoupdate
|
- name: Install required packages for autoupdate
|
||||||
apt:
|
apt:
|
||||||
name: '{{ item }}'
|
name:
|
||||||
cache_valid_time: 86400
|
|
||||||
with_items:
|
|
||||||
- unattended-upgrades
|
- unattended-upgrades
|
||||||
- update-notifier-common
|
- update-notifier-common
|
||||||
- sendmail
|
- sendmail
|
||||||
|
cache_valid_time: 86400
|
||||||
|
|
||||||
- name: Enable automatic update / upgrade
|
- name: Enable automatic update / upgrade
|
||||||
copy:
|
copy:
|
||||||
|
|
Loading…
Reference in a new issue