summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/evaluate_groups.yml
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-08-08 18:55:17 +0200
committerLuke Meyer <lmeyer@redhat.com>2017-08-10 14:12:43 -0400
commitc84f11d71f89ae9ac0c93f3da4f74c742346612e (patch)
tree4ff4892c46abb4c732e7c4b83cf93020cb3916ff /playbooks/common/openshift-cluster/evaluate_groups.yml
parent6528031d5ec24d62ffe28687bb134bc1237f0210 (diff)
downloadopenshift-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 'playbooks/common/openshift-cluster/evaluate_groups.yml')
-rw-r--r--playbooks/common/openshift-cluster/evaluate_groups.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/evaluate_groups.yml b/playbooks/common/openshift-cluster/evaluate_groups.yml
index 8accda8c7..c56b07037 100644
--- a/playbooks/common/openshift-cluster/evaluate_groups.yml
+++ b/playbooks/common/openshift-cluster/evaluate_groups.yml
@@ -8,7 +8,7 @@
- name: Evaluate groups - g_etcd_hosts or g_new_etcd_hosts required
fail:
msg: This playbook requires g_etcd_hosts or g_new_etcd_hosts to be set
- when: "{{ g_etcd_hosts is not defined and g_new_etcd_hosts is not defined}}"
+ when: g_etcd_hosts is not defined and g_new_etcd_hosts is not defined
- name: Evaluate groups - g_master_hosts or g_new_master_hosts required
fail: