aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/haproxy
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/haproxy')
-rw-r--r--ansible/roles/haproxy/templates/haproxy.json.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/haproxy/templates/haproxy.json.j2 b/ansible/roles/haproxy/templates/haproxy.json.j2
index 9672e239b..d838dad83 100644
--- a/ansible/roles/haproxy/templates/haproxy.json.j2
+++ b/ansible/roles/haproxy/templates/haproxy.json.j2
@@ -12,7 +12,7 @@
"dest": "/etc/haproxy/haproxy.pem",
"owner": "root",
"perm": "0600",
- "optional": "true"
+ "optional": {{ (not kolla_enable_tls_external | bool) | string | lower }}
}
]
}