From ffd81aa6db460730eb83961fa4799a4618665176 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Sun, 19 Apr 2020 20:01:04 +0200 Subject: [PATCH] Add the zabbix agent role to the bootstrap tasks. --- library/bootstrap-roles/centos-common/meta/main.yml | 4 ++++ library/bootstrap-roles/deb-ubuntu-common/meta/main.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/library/bootstrap-roles/centos-common/meta/main.yml b/library/bootstrap-roles/centos-common/meta/main.yml index 861006c..08cffda 100644 --- a/library/bootstrap-roles/centos-common/meta/main.yml +++ b/library/bootstrap-roles/centos-common/meta/main.yml @@ -11,3 +11,7 @@ dependencies: - { 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/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 diff --git a/library/bootstrap-roles/deb-ubuntu-common/meta/main.yml b/library/bootstrap-roles/deb-ubuntu-common/meta/main.yml index a99ad2c..b980565 100644 --- a/library/bootstrap-roles/deb-ubuntu-common/meta/main.yml +++ b/library/bootstrap-roles/deb-ubuntu-common/meta/main.yml @@ -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/nagios', when: nagios_enabled is defined and nagios_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