Skip to content
Snippets Groups Projects
Commit 47445662 authored by jurgenhaas's avatar jurgenhaas
Browse files

Use the correct filename to build cert for HaProxy

parent 28b437c8
Branches
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
- name: "Create PEM file for HaProxy"
assemble:
src='/etc/letsencrypt/live/{{ item.domain }}'
dest='/etc/haproxy/certs/{{ item.domain }}.pem'
dest='/etc/haproxy/certs/{{ item.file }}'
regexp='(fullchain)|(privkey)\.pem'
with_items: '{{ proxy_certificates|default([]) }}'
when: item.letsencrypt|default(false) and item.active|default(true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment