blob: ea37b5165093902168475af0167dd824aa9be007 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
- name: Install various administrative tools
package: name={{item}} state=present
with_items:
- mc
- telnet
- lsof
- strace
# We also can install something conditionally
#- name: Install various administrative tools
# package: name={{item}} state=present
# when: 'ands_storage_servers' in group_names
# with_items:
- name: Ensure all extra packages are installed
package: name={{item}} state=present
with_items: "{{ extra_packages | default([]) }}"
|