From 31fdf3dc6018601efad199ac3e5534e125d43887 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Sun, 8 Oct 2017 21:25:32 +0000 Subject: [PATCH] We do not yet have http2, allow us to disable it Signed-off-by: Patrick Uiterwijk --- .../templates/cluster-inventory.j2 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2 b/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2 index b5a0c9d558..c889f3332c 100644 --- a/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2 +++ b/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory.j2 @@ -761,9 +761,11 @@ 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. -#openshift_master_api_env_vars={"ENABLE_HTTP2": "true"} -#openshift_master_controllers_env_vars={"ENABLE_HTTP2": "true"} -#openshift_node_env_vars={"ENABLE_HTTP2": "true"} +{% if defined no_http2 and 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 %} # Enable API service auditing, available as of 3.2 #openshift_master_audit_config={"enabled": true}