From 74425558690deac86d742ae8dd93022186478584 Mon Sep 17 00:00:00 2001 From: Yanis Guenane Date: Mon, 15 Mar 2021 12:58:10 +0100 Subject: [PATCH] tower_deployment: Use the proper conditional variable fixes: https://github.com/ansible/awx-operator/issues/118 --- roles/installer/templates/tower_deployment.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/installer/templates/tower_deployment.yaml.j2 b/roles/installer/templates/tower_deployment.yaml.j2 index dffa3ea8..1a979321 100644 --- a/roles/installer/templates/tower_deployment.yaml.j2 +++ b/roles/installer/templates/tower_deployment.yaml.j2 @@ -90,7 +90,7 @@ spec: - name: AWX_KUBE_DEVEL value: "1" {% endif %} -{% if tower_task_extra_env %} +{% if tower_web_extra_env -%} {{ tower_web_extra_env | indent(width=12, indentfirst=True) }} {% endif %} resources: {{ tower_web_resource_requirements }}