diff --git a/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2 b/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2 index 4aef472938..7c11659136 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 %}