Add the zabbix agent role to the bootstrap tasks.

This commit is contained in:
Andrea Dell'Amico 2020-04-19 20:01:04 +02:00
parent ecb8cabd4d
commit ffd81aa6db
2 changed files with 8 additions and 0 deletions

View File

@ -11,3 +11,7 @@ dependencies:
- { role: '../../library/roles/cloud-init', when: ansible_product_name == "oVirt Node" } - { role: '../../library/roles/cloud-init', when: ansible_product_name == "oVirt Node" }
- { role: '../../library/roles/letsencrypt-acme-sh-client', when: letsencrypt_acme_sh_install is defined and letsencrypt_acme_sh_install } - { role: '../../library/roles/letsencrypt-acme-sh-client', when: letsencrypt_acme_sh_install is defined and letsencrypt_acme_sh_install }
- { role: '../../library/centos/roles/prometheus-node-exporter', when: prometheus_enabled } - { role: '../../library/centos/roles/prometheus-node-exporter', when: prometheus_enabled }
- src: git+https://gitea-s2i2s.isti.cnr.it/ISTI-ansible-roles/ansible-role-zabbix-agent.git
version: master
name: zabbix-agent
when: zabbix_agent_install | bool

View File

@ -10,4 +10,8 @@ dependencies:
- { role: '../library/roles/letsencrypt-acme-sh-client', when: letsencrypt_acme_sh_install is defined and letsencrypt_acme_sh_install } - { role: '../library/roles/letsencrypt-acme-sh-client', when: letsencrypt_acme_sh_install is defined and letsencrypt_acme_sh_install }
- { role: '../../library/roles/nagios', when: nagios_enabled is defined and nagios_enabled } - { role: '../../library/roles/nagios', when: nagios_enabled is defined and nagios_enabled }
- { role: '../../library/roles/prometheus-node-exporter', when: prometheus_enabled is defined and prometheus_enabled } - { role: '../../library/roles/prometheus-node-exporter', when: prometheus_enabled is defined and prometheus_enabled }
- src: git+https://gitea-s2i2s.isti.cnr.it/ISTI-ansible-roles/ansible-role-zabbix-agent.git
version: master
name: zabbix-agent
when: zabbix_agent_install | bool