diff --git a/meta/main.yml b/meta/main.yml index 2580218..832756f 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -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 diff --git a/tasks/main.yml b/tasks/main.yml index c5041a5..b6090f1 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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: