From 1cfccb338e817f070c7b09b51b84588afcdf0f51 Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Tue, 15 Aug 2017 20:37:51 +0000 Subject: fix ansible-ansible-openshift ansible template '(' != '{' (thanks Patrick) Signed-off-by: Adam Miller --- roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %} -- cgit