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
# - CC-BY
license: Apache
min_ansible_version: 1.3
min_ansible_version: 2.7
#
# Below are all platforms currently available. Just uncomment
# 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
apt:
name: '{{ item }}'
name:
- unattended-upgrades
- update-notifier-common
- sendmail
cache_valid_time: 86400
with_items:
- unattended-upgrades
- update-notifier-common
- sendmail
- name: Enable automatic update / upgrade
copy: