From 4b5061c01079b79699d30dbde5f20cbe7266839e Mon Sep 17 00:00:00 2001 From: Brad Murray Date: Sun, 12 Jul 2015 22:42:54 +1200 Subject: [PATCH] Fix missing crt section https://github.com/Oefenweb/ansible-haproxy/commit/c0e4489704edad381033e153db9918d9933309cb removed the conditional check, but also removed the `ssl.cert` component which actually outputs the value Causes an error when used --- templates/etc/haproxy/frontend.cfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/etc/haproxy/frontend.cfg.j2 b/templates/etc/haproxy/frontend.cfg.j2 index bd6cb8d5..0302ee0b 100644 --- a/templates/etc/haproxy/frontend.cfg.j2 +++ b/templates/etc/haproxy/frontend.cfg.j2 @@ -4,7 +4,7 @@ frontend {{ frontend.name }} description {{ frontend.description }} {% endif %} - bind {{ frontend.bind }}{% if frontend.ssl is defined %} ssl{% for ssl in frontend.ssl %} crt {% endfor %}{% endif %} + bind {{ frontend.bind }}{% if frontend.ssl is defined %} ssl{% for ssl in frontend.ssl %} crt {{ ssl.crt }}{% endfor %}{% endif %} mode {{ frontend.mode }}