zabbix: Playbooks for Zabbix server, agents
This commit is contained in:
6
group_vars/zabbix-server.yml
Normal file
6
group_vars/zabbix-server.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
pg_hba_extra:
|
||||
- type: local
|
||||
database: zabbix
|
||||
user: zabbix
|
||||
address: ''
|
||||
method: md5
|
||||
10
hosts
10
hosts
@@ -34,3 +34,13 @@ cm0.pyrocufflink.blue
|
||||
|
||||
[ansible]
|
||||
cm0.pyrocufflink.blue
|
||||
|
||||
[zabbix-server]
|
||||
|
||||
[postgresql:children]
|
||||
zabbix-server
|
||||
|
||||
[zabbix]
|
||||
|
||||
[zabbix:children]
|
||||
zabbix-server
|
||||
|
||||
3
zabbix-agent.yml
Normal file
3
zabbix-agent.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
- hosts: zabbix
|
||||
roles:
|
||||
- zabbix-agent
|
||||
3
zabbix-server.yml
Normal file
3
zabbix-server.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
- hosts: zabbix-server
|
||||
roles:
|
||||
- zabbix-server
|
||||
3
zabbix.yml
Normal file
3
zabbix.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
- import_playbook: postgresql.yml
|
||||
- import_playbook: zabbix-server.yml
|
||||
- import_playbook: zabbix-agent.yml
|
||||
Reference in New Issue
Block a user