zabbix: Playbooks for Zabbix server, agents

jenkins-master
Dustin 2018-04-14 15:31:17 -05:00
parent c982f4818f
commit 9ace01788a
5 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,6 @@
pg_hba_extra:
- type: local
database: zabbix
user: zabbix
address: ''
method: md5

10
hosts
View File

@ -34,3 +34,13 @@ cm0.pyrocufflink.blue
[ansible] [ansible]
cm0.pyrocufflink.blue cm0.pyrocufflink.blue
[zabbix-server]
[postgresql:children]
zabbix-server
[zabbix]
[zabbix:children]
zabbix-server

3
zabbix-agent.yml Normal file
View File

@ -0,0 +1,3 @@
- hosts: zabbix
roles:
- zabbix-agent

3
zabbix-server.yml Normal file
View File

@ -0,0 +1,3 @@
- hosts: zabbix-server
roles:
- zabbix-server

3
zabbix.yml Normal file
View File

@ -0,0 +1,3 @@
- import_playbook: postgresql.yml
- import_playbook: zabbix-server.yml
- import_playbook: zabbix-agent.yml