refactor haproxy

This commit is contained in:
Michael Rennecke
2019-06-17 20:44:48 +02:00
parent 017f5d91ed
commit 3bfeff4d42
5 changed files with 25 additions and 12 deletions

View File

@@ -58,11 +58,14 @@
- haproxy.cfg
notify: reload haproxy
- name: create domains.txt
- name: create domains files for certificate generation
template:
src: domains.txt
src: "{{ item }}"
dest: /etc/haproxy/
mode: 0644
with_items:
- domains.txt
- all-domains.txt
notify:
- update certs