diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-08-08 18:55:17 +0200 |
---|---|---|
committer | Luke Meyer <lmeyer@redhat.com> | 2017-08-10 14:12:43 -0400 |
commit | c84f11d71f89ae9ac0c93f3da4f74c742346612e (patch) | |
tree | 4ff4892c46abb4c732e7c4b83cf93020cb3916ff /roles/openshift_logging_kibana | |
parent | 6528031d5ec24d62ffe28687bb134bc1237f0210 (diff) | |
download | openshift-c84f11d71f89ae9ac0c93f3da4f74c742346612e.tar.gz openshift-c84f11d71f89ae9ac0c93f3da4f74c742346612e.tar.bz2 openshift-c84f11d71f89ae9ac0c93f3da4f74c742346612e.tar.xz openshift-c84f11d71f89ae9ac0c93f3da4f74c742346612e.zip |
Fix syntax for when statement
Without that, playbook runs print warnings such as this:
[WARNING]: when statements should not include jinja2 templating
delimiters such as {{ }} or {% %}. Found: {{ g_etcd_hosts is not
defined and g_new_etcd_hosts is not
defined}}
Diffstat (limited to 'roles/openshift_logging_kibana')
-rw-r--r-- | roles/openshift_logging_kibana/tasks/main.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_logging_kibana/tasks/main.yaml b/roles/openshift_logging_kibana/tasks/main.yaml index 62bc26e37..166f102f7 100644 --- a/roles/openshift_logging_kibana/tasks/main.yaml +++ b/roles/openshift_logging_kibana/tasks/main.yaml @@ -99,17 +99,17 @@ # TODO: set up these certs differently? - set_fact: kibana_key: "{{ lookup('file', openshift_logging_kibana_key) | b64encode }}" - when: "{{ openshift_logging_kibana_key | trim | length > 0 }}" + when: openshift_logging_kibana_key | trim | length > 0 changed_when: false - set_fact: kibana_cert: "{{ lookup('file', openshift_logging_kibana_cert) | b64encode }}" - when: "{{ openshift_logging_kibana_cert | trim | length > 0 }}" + when: openshift_logging_kibana_cert | trim | length > 0 changed_when: false - set_fact: kibana_ca: "{{ lookup('file', openshift_logging_kibana_ca) | b64encode }}" - when: "{{ openshift_logging_kibana_ca | trim | length > 0 }}" + when: openshift_logging_kibana_ca | trim | length > 0 changed_when: false - set_fact: |