summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 %}