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
|
- name: Configure apt not to install recommends packages
|
||||||
copy: src=apt-recommends.conf dest=/etc/apt/apt.conf.d/40recommends
|
copy: src=apt-recommends.conf dest=/etc/apt/apt.conf.d/40recommends
|
||||||
|
|
||||||
- name: Install apt https transport plugin
|
- name: Install apt related tools
|
||||||
apt: name=apt-transport-https
|
apt:
|
||||||
|
name:
|
||||||
- name: Install debian-goodies for checkrestart
|
- apt-transport-https
|
||||||
apt: name={{ item }}
|
- debian-goodies
|
||||||
with_items:
|
- lsof
|
||||||
- debian-goodies
|
- unattended-upgrades
|
||||||
- lsof
|
|
||||||
|
|
||||||
- name: Configure periodic apt updates
|
- name: Configure periodic apt updates
|
||||||
copy: src=apt-periodic.conf dest=/etc/apt/apt.conf.d/10periodic
|
copy: src=apt-periodic.conf dest=/etc/apt/apt.conf.d/10periodic
|
||||||
|
|
||||||
- name: Install unattended-upgrades
|
|
||||||
apt: name=unattended-upgrades
|
|
||||||
|
|
||||||
- name: Configure unattended-upgrades
|
- name: Configure unattended-upgrades
|
||||||
copy: src=unattended-upgrades.conf dest=/etc/apt/apt.conf.d/50unattended-upgrades
|
copy: src=unattended-upgrades.conf dest=/etc/apt/apt.conf.d/50unattended-upgrades
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user