summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Miller <admiller@redhat.com>2017-08-15 20:37:51 +0000
committerAdam Miller <admiller@redhat.com>2017-08-15 20:37:53 +0000
commit1cfccb338e817f070c7b09b51b84588afcdf0f51 (patch)
treef10b3245284255710db4104a1d40ce452f06bd22
parent70b6353dd92db870311958e89cd91ece04da6a18 (diff)
downloadansible-1cfccb338e817f070c7b09b51b84588afcdf0f51.tar.gz
ansible-1cfccb338e817f070c7b09b51b84588afcdf0f51.tar.xz
ansible-1cfccb338e817f070c7b09b51b84588afcdf0f51.zip
fix ansible-ansible-openshift ansible template '(' != '{' (thanks Patrick)
Signed-off-by: Adam Miller <admiller@redhat.com>
-rw-r--r--roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2 b/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2
index 4aef47293..7c1165913 100644
--- a/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2
+++ b/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2
@@ -833,7 +833,7 @@ openshift_master_console_port={{openshift_console_port}}
{% for host in groups[openshift_cluster_nodes_group] %}
-(% if openshift_nodeselectors is defined %}
+{% if openshift_nodeselectors is defined %}
{% if openshift_nodeselectors %}
{{ host }} openshift_node_labels="{'region': 'primary', 'zone': 'default', {{openshift_nodeselectors}}}"
{% else %}