forked from FF-RGB/ansible
common: use list instead of with_items
This commit is contained in:
parent
40a64d1e77
commit
1b12b54a8d
@ -1,29 +1,29 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Install misc software
|
- name: Install misc software
|
||||||
apt: name={{ item }}
|
apt:
|
||||||
with_items:
|
name:
|
||||||
- ca-certificates
|
- ca-certificates
|
||||||
- dnsutils
|
- dnsutils
|
||||||
- git
|
- git
|
||||||
- htop
|
- htop
|
||||||
- less
|
- less
|
||||||
- mtr-tiny
|
- mtr-tiny
|
||||||
- net-tools
|
- net-tools
|
||||||
- openssl
|
- openssl
|
||||||
- psmisc
|
- psmisc
|
||||||
- pydf
|
- pydf
|
||||||
- rsync
|
- rsync
|
||||||
- sudo
|
- sudo
|
||||||
- vim-nox
|
- vim-nox
|
||||||
- zsh
|
- zsh
|
||||||
- fail2ban
|
- fail2ban
|
||||||
|
|
||||||
- name: Install software on KVM VMs
|
- name: Install software on KVM VMs
|
||||||
apt: name={{ item }}
|
apt:
|
||||||
with_items:
|
name:
|
||||||
- acpid
|
- acpid
|
||||||
- qemu-guest-agent
|
- qemu-guest-agent
|
||||||
when: ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm"
|
when: ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm"
|
||||||
|
|
||||||
- name: Configure misc software
|
- name: Configure misc software
|
||||||
|
Loading…
Reference in New Issue
Block a user