summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorewolinetz <ewolinet@redhat.com>2017-02-01 16:01:59 -0600
committerewolinetz <ewolinet@redhat.com>2017-02-01 16:02:30 -0600
commit51c7796b32c9fc0df30ea463ba238422158e7bad (patch)
tree44613432f42273ff8cab5603ae72dcec6a1488e0
parent3e7787fc86c997679eb14e1a936336086177b438 (diff)
downloadopenshift-51c7796b32c9fc0df30ea463ba238422158e7bad.tar.gz
openshift-51c7796b32c9fc0df30ea463ba238422158e7bad.tar.bz2
openshift-51c7796b32c9fc0df30ea463ba238422158e7bad.tar.xz
openshift-51c7796b32c9fc0df30ea463ba238422158e7bad.zip
Adding include_role to block to resolve when eval
-rw-r--r--playbooks/common/openshift-cluster/openshift_logging.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/playbooks/common/openshift-cluster/openshift_logging.yml b/playbooks/common/openshift-cluster/openshift_logging.yml
index 82f18f5e1..d96a78c4c 100644
--- a/playbooks/common/openshift-cluster/openshift_logging.yml
+++ b/playbooks/common/openshift-cluster/openshift_logging.yml
@@ -7,7 +7,8 @@
- name: Update Master configs
hosts: masters:!oo_first_master
tasks:
- - include_role:
- name: openshift_logging
- tasks_from: update_master_config
+ - block:
+ - include_role:
+ name: openshift_logging
+ tasks_from: update_master_config
when: openshift_logging_install_logging | default(false) | bool