diff --git a/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2 b/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2 index 2fffc4425b..14a7382a18 100644 --- a/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2 +++ b/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2 @@ -811,7 +811,7 @@ openshift_node_env_vars={"ENABLE_HTTP2": "true"} [nodes] {% for host in groups[openshift_cluster_masters_group] %} -{{ host }} {% if env == 'production' %}openshift_schedulable=False %{ endif %} +{{ host }} {% if env == 'production' %}openshift_schedulable=False {% endif %} {% endfor %} {% for host in groups[openshift_cluster_nodes_group] %} {{ host }} openshift_node_labels="{'region': 'infra', 'zone': 'default', 'node-role.kubernetes.io/compute': 'true'}" @@ -824,7 +824,7 @@ openshift_node_env_vars={"ENABLE_HTTP2": "true"} {{ host }} openshift_node_labels="{'region':'infra'}" {% endfor %} {% for host in groups[openshift_cluster_masters_group] %} -{{ host }} {% if env == 'production' %}openshift_schedulable=False %{ endif %} +{{ host }} {% if env == 'production' %}openshift_schedulable=False {% endif %} {% endfor %} {% for host in groups[openshift_cluster_nodes_group] %} {{ host }} openshift_node_labels="{'region': 'primary', 'zone': 'default', 'node-role.kubernetes.io/compute': 'true'}" @@ -840,7 +840,7 @@ openshift_node_env_vars={"ENABLE_HTTP2": "true"} {% endfor %} {% for host in groups[openshift_cluster_masters_group] %} -{{ host }} {% if env == 'production' %}openshift_schedulable=False %{ endif %} +{{ host }} {% if env == 'production' %}openshift_schedulable=False {% endif %} {% endfor %} {% for host in groups[openshift_cluster_nodes_group] %}