From c61d9bbf907305be2afcc033ef2ec610cc928fe4 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 11 Oct 2017 00:38:57 +0000 Subject: [PATCH] see if it likes this any better --- .../templates/cluster-inventory.j2 | 4 +++- 1 file changed, 3 insertions(+), 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 c889f3332c..251b31780a 100644 --- a/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2 +++ b/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2 @@ -761,11 +761,13 @@ openshift_master_console_port={{openshift_console_port}} # each OpenShift service: node, master (api and controllers). # API and controllers environment variables are merged in single # master environments. -{% if defined no_http2 and no_http2 %} +{% if defined no_http2 %} +{% if no_http2 %} openshift_master_api_env_vars={"ENABLE_HTTP2": "true"} openshift_master_controllers_env_vars={"ENABLE_HTTP2": "true"} openshift_node_env_vars={"ENABLE_HTTP2": "true"} {% endif %} +{% endif %} # Enable API service auditing, available as of 3.2 #openshift_master_audit_config={"enabled": true}