forked from infra/ansible
common: use list instead of with_items
This commit is contained in:
parent
364d9428d8
commit
7de38a4602
@ -1,8 +1,8 @@
|
||||
---
|
||||
|
||||
- name: Install misc software
|
||||
apt: name={{ item }}
|
||||
with_items:
|
||||
apt:
|
||||
name:
|
||||
- dnsutils
|
||||
- htop
|
||||
- less
|
||||
@ -16,8 +16,8 @@
|
||||
- zsh
|
||||
|
||||
- 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"
|
||||
|
@ -1,8 +1,8 @@
|
||||
---
|
||||
|
||||
- name: Install misc software
|
||||
pkgng: name={{ item }}
|
||||
with_items:
|
||||
pkgng:
|
||||
name:
|
||||
- vim-lite
|
||||
- htop
|
||||
- zsh
|
||||
|
@ -1,8 +1,8 @@
|
||||
---
|
||||
|
||||
- name: Install misc software
|
||||
apt: name={{ item }}
|
||||
with_items:
|
||||
apt:
|
||||
name:
|
||||
- dnsutils
|
||||
- htop
|
||||
- ipmitool
|
||||
|
Loading…
Reference in New Issue
Block a user