zabbix: add zabbix-agent to groups/virthost playbook
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
parent
cdc84bf0ad
commit
a0ddb8fac4
1 changed files with 10 additions and 9 deletions
|
@ -38,17 +38,18 @@
|
|||
|
||||
roles:
|
||||
- base
|
||||
- { role: rkhunter }
|
||||
- { role: nagios_client }
|
||||
- {role: rkhunter}
|
||||
- {role: nagios_client}
|
||||
- {role: zabbix/zabbix_agent, when: env == "staging"}
|
||||
- hosts
|
||||
- { role: openvpn/client, when: vpn|bool }
|
||||
- {role: openvpn/client, when: vpn|bool}
|
||||
- ipa/client
|
||||
- { role: collectd/base }
|
||||
- { role: iscsi_client, when: "inventory_hostname.startswith(('bvmhost-x86-06', 'bvmhost-x86-07')) and datacenter == 'iad2'" }
|
||||
- {role: collectd/base}
|
||||
- {role: iscsi_client, when: "inventory_hostname.startswith(('bvmhost-x86-06', 'bvmhost-x86-07')) and datacenter == 'iad2'"}
|
||||
- sudo
|
||||
- virthost
|
||||
- { role: linux-system-roles.nbde_client, tags: ['nbde_client'], when: datacenter == 'iad2' and nbde|bool }
|
||||
- { role: serial-console, when: datacenter == 'iad2' and not inventory_hostname.startswith('buildvmhost-s390x') }
|
||||
- {role: linux-system-roles.nbde_client, tags: ['nbde_client'], when: datacenter == 'iad2' and nbde|bool}
|
||||
- {role: serial-console, when: datacenter == 'iad2' and not inventory_hostname.startswith('buildvmhost-s390x')}
|
||||
|
||||
tasks:
|
||||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue