forked from FF-RGB/ansible
apt: use list instead of with_items
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 }}
|
|
||||||
with_items:
|
|
||||||
- debian-goodies
|
- debian-goodies
|
||||||
- lsof
|
- lsof
|
||||||
|
- unattended-upgrades
|
||||||
|
|
||||||
- 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