From 64423cc6a7772b4ba894f05b5c18de3a0895570d Mon Sep 17 00:00:00 2001 From: ewolinetz Date: Wed, 1 Feb 2017 10:38:29 -0600 Subject: Updating oc_apply changed_when conditions, fixing filter usage for openshift_hosted_logging playbook --- playbooks/common/openshift-cluster/openshift_hosted.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'playbooks/common/openshift-cluster') diff --git a/playbooks/common/openshift-cluster/openshift_hosted.yml b/playbooks/common/openshift-cluster/openshift_hosted.yml index 021d19dad..34f1a979b 100644 --- a/playbooks/common/openshift-cluster/openshift_hosted.yml +++ b/playbooks/common/openshift-cluster/openshift_hosted.yml @@ -55,4 +55,4 @@ - include_role: name: openshift_hosted_logging tasks_from: update_master_config - when: openshift_hosted_logging_deploy | default(false) | boola + when: openshift_hosted_logging_deploy | default(false) | bool -- cgit v1.2.3 From 51c7796b32c9fc0df30ea463ba238422158e7bad Mon Sep 17 00:00:00 2001 From: ewolinetz Date: Wed, 1 Feb 2017 16:01:59 -0600 Subject: Adding include_role to block to resolve when eval --- playbooks/common/openshift-cluster/openshift_logging.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'playbooks/common/openshift-cluster') 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 -- cgit v1.2.3