Allow a custom haproxy configuration file

TrivialFix

Change-Id: I5ebb8bc42fa9483adfb397ba1856c750a3b70a7b
This commit is contained in:
Christian Berendt 2016-09-12 18:36:33 +02:00
parent 6417595b9f
commit 19ed74d638

View File

@ -25,10 +25,12 @@
- name: Copying over haproxy.cfg
template:
src: "{{ item }}.cfg.j2"
dest: "{{ node_config_directory }}/{{ item }}/{{ item }}.cfg"
with_items:
- "haproxy"
src: "{{ item }}"
dest: "{{ node_config_directory }}/haproxy/haproxy.cfg"
with_first_found:
- "{{ node_custom_config }}/haproxy/{{ inventory_hostname }}/haproxy.cfg"
- "{{ node_custom_config }}/haproxy/haproxy.cfg"
- "haproxy.cfg.j2"
- name: Copying over keepalived.conf
template: