From d331af4e16fec03607c035c123f9cf11e7be3ed0 Mon Sep 17 00:00:00 2001 From: leseb Date: Fri, 3 Jul 2015 16:56:34 +0200 Subject: [PATCH] Safer check Without this, the subcription manager will run since the default value for cdn is true... Signed-off-by: leseb --- roles/ceph-common/tasks/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/roles/ceph-common/tasks/main.yml b/roles/ceph-common/tasks/main.yml index 0a00d38df..23f2a0630 100644 --- a/roles/ceph-common/tasks/main.yml +++ b/roles/ceph-common/tasks/main.yml @@ -8,10 +8,14 @@ when: ceph_stable_ice - include: prerequisite_rh_storage_iso_install.yml - when: ceph_stable_rh_storage_iso_install + when: + ceph_stable_rh_storage and + ceph_stable_rh_storage_iso_install - include: prerequisite_rh_storage_cdn_install.yml - when: ceph_stable_rh_storage_cdn_install + when: + ceph_stable_rh_storage and + ceph_stable_rh_storage_cdn_install - include: install_on_redhat.yml when: ansible_os_family == 'RedHat'