apt: use list instead of with_items
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
bad435fad4
commit
bc061dff94
@ -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:
|
||||
- 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user