Merge "Allow a custom haproxy configuration file"
This commit is contained in:
commit
62c3643f4a
@ -25,10 +25,12 @@
|
|||||||
|
|
||||||
- name: Copying over haproxy.cfg
|
- name: Copying over haproxy.cfg
|
||||||
template:
|
template:
|
||||||
src: "{{ item }}.cfg.j2"
|
src: "{{ item }}"
|
||||||
dest: "{{ node_config_directory }}/{{ item }}/{{ item }}.cfg"
|
dest: "{{ node_config_directory }}/haproxy/haproxy.cfg"
|
||||||
with_items:
|
with_first_found:
|
||||||
- "haproxy"
|
- "{{ node_custom_config }}/haproxy/{{ inventory_hostname }}/haproxy.cfg"
|
||||||
|
- "{{ node_custom_config }}/haproxy/haproxy.cfg"
|
||||||
|
- "haproxy.cfg.j2"
|
||||||
|
|
||||||
- name: Copying over keepalived.conf
|
- name: Copying over keepalived.conf
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user