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
|
@ -26,7 +26,7 @@
|
||||||
dest: /usr/bin/nbde_client-network-flush
|
dest: /usr/bin/nbde_client-network-flush
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 755
|
mode: 755
|
||||||
|
|
||||||
- name: tell NetworkManager we don't want any auto connections
|
- name: tell NetworkManager we don't want any auto connections
|
||||||
copy:
|
copy:
|
||||||
|
@ -34,21 +34,22 @@
|
||||||
dest: /etc/NetworkManager/conf.d/noautodefault.conf
|
dest: /etc/NetworkManager/conf.d/noautodefault.conf
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 644
|
mode: 644
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
- { role: rkhunter }
|
- {role: rkhunter}
|
||||||
- { role: nagios_client }
|
- {role: nagios_client}
|
||||||
|
- {role: zabbix/zabbix_agent, when: env == "staging"}
|
||||||
- hosts
|
- hosts
|
||||||
- { role: openvpn/client, when: vpn|bool }
|
- {role: openvpn/client, when: vpn|bool}
|
||||||
- ipa/client
|
- ipa/client
|
||||||
- { role: collectd/base }
|
- {role: collectd/base}
|
||||||
- { role: iscsi_client, when: "inventory_hostname.startswith(('bvmhost-x86-06', 'bvmhost-x86-07')) and datacenter == 'iad2'" }
|
- {role: iscsi_client, when: "inventory_hostname.startswith(('bvmhost-x86-06', 'bvmhost-x86-07')) and datacenter == 'iad2'"}
|
||||||
- sudo
|
- sudo
|
||||||
- virthost
|
- virthost
|
||||||
- { role: linux-system-roles.nbde_client, tags: ['nbde_client'], when: datacenter == 'iad2' and nbde|bool }
|
- {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: serial-console, when: datacenter == 'iad2' and not inventory_hostname.startswith('buildvmhost-s390x')}
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue