From f4175f04d717a8372f7887d9c304758032f76a9f Mon Sep 17 00:00:00 2001 From: SamYaple Date: Fri, 18 Mar 2016 01:07:28 +0000 Subject: Fix 'optional' config.json values These values are optional only when the services are not enabled. If the file does not exist we should not warn, but rather inform. Ceph-mon is an exception here since its bootstrap process means the files may or may not exist initially. TrivialFix Change-Id: Ic02bece76d480e99deecf612036f37abb5604135 --- ansible/roles/haproxy/templates/haproxy.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ansible/roles/haproxy') 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 }} } ] } -- cgit v1.2.3