From 172373fb5c628b35dc74c30ff53acca3ec264f85 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 7 Feb 2020 18:34:48 +0100 Subject: [PATCH] Fix some conditionals so that we can skip nagios. --- library/bootstrap-roles/deb-ubuntu-common/meta/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/bootstrap-roles/deb-ubuntu-common/meta/main.yml b/library/bootstrap-roles/deb-ubuntu-common/meta/main.yml index 053a8f7f..a99ad2cf 100644 --- a/library/bootstrap-roles/deb-ubuntu-common/meta/main.yml +++ b/library/bootstrap-roles/deb-ubuntu-common/meta/main.yml @@ -8,6 +8,6 @@ dependencies: - { role: '../../library/roles/data_disk', when: additional_disks is defined and additional_disks } - role: '../../library/roles/sshd_config' - { 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 } - - { role: '../../library/roles/prometheus-node-exporter', when: prometheus_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 }