Fix deprecation warning (Ansible 2.7)

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-12-27 14:09:53 +01:00
parent ac264ae84a
commit 4bc9f9062e
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 5 additions and 6 deletions

View file

@ -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

View file

@ -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: