common: 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
40a64d1e77
commit
1b12b54a8d
@ -1,8 +1,8 @@
|
||||
---
|
||||
|
||||
- name: Install misc software
|
||||
apt: name={{ item }}
|
||||
with_items:
|
||||
apt:
|
||||
name:
|
||||
- ca-certificates
|
||||
- dnsutils
|
||||
- git
|
||||
@ -20,8 +20,8 @@
|
||||
- fail2ban
|
||||
|
||||
- name: Install software on KVM VMs
|
||||
apt: name={{ item }}
|
||||
with_items:
|
||||
apt:
|
||||
name:
|
||||
- acpid
|
||||
- qemu-guest-agent
|
||||
when: ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm"
|
||||
|
Loading…
Reference in New Issue
Block a user