diff --git a/tasks/haproxy_ssl_letsencrypt.yml b/tasks/haproxy_ssl_letsencrypt.yml index e68a469..3785964 100644 --- a/tasks/haproxy_ssl_letsencrypt.yml +++ b/tasks/haproxy_ssl_letsencrypt.yml @@ -64,7 +64,7 @@ dest: >- {{ haproxy_ssl_cert_path ~ '/haproxy_' ~ ansible_facts['hostname'] ~ '-' ~ (item.get('interface')) | ternary( - item.get('address') ~ '-' ~ item['interface'], item['address']) ~ '.pem' + item.get('address') ~ '-' ~ item.get('interface'), item['address']) ~ '.pem' }} regexp: "(privkey|fullchain).pem$" owner: haproxy