apt: use list instead of with_items
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Markus 2020-06-23 21:45:56 +02:00
parent bad435fad4
commit bc061dff94
1 changed files with 7 additions and 11 deletions

View File

@ -3,21 +3,17 @@
- name: Configure apt not to install recommends packages
copy: src=apt-recommends.conf dest=/etc/apt/apt.conf.d/40recommends
- name: Install apt https transport plugin
apt: name=apt-transport-https
- name: Install debian-goodies for checkrestart
apt: name={{ item }}
with_items:
- debian-goodies
- lsof
- name: Install apt related tools
apt:
name:
- apt-transport-https
- debian-goodies
- lsof
- unattended-upgrades
- name: Configure periodic apt updates
copy: src=apt-periodic.conf dest=/etc/apt/apt.conf.d/10periodic
- name: Install unattended-upgrades
apt: name=unattended-upgrades
- name: Configure unattended-upgrades
copy: src=unattended-upgrades.conf dest=/etc/apt/apt.conf.d/50unattended-upgrades