Zabbix: add zabbix role to groups/pdc playbook
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
This commit is contained in:
parent
55069c4401
commit
9fd4f0e466
1 changed files with 7 additions and 6 deletions
|
@ -9,9 +9,9 @@
|
||||||
user: root
|
user: root
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/srv/private/ansible/vars.yml"
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@
|
||||||
- base
|
- base
|
||||||
- rkhunter
|
- rkhunter
|
||||||
- nagios_client
|
- nagios_client
|
||||||
|
- {role: zabbix/zabbix_agent, when: env == "staging"}
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- hosts
|
- hosts
|
||||||
- ipa/client
|
- ipa/client
|
||||||
|
@ -37,9 +38,9 @@
|
||||||
user: root
|
user: root
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/srv/private/ansible/vars.yml"
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue