Template custom HAProxy service configuration
Change Id84e3b6e62e544582d6917047534e846e026798d added support for custom HAProxy service config using a plain copy of files in services.d. Use a template action instead of a copy so that we can use variables and iterate over group of hosts. Change-Id: I1f07785932de4e4540422bd18af95241f05a67bf
This commit is contained in:
parent
516cb3d95d
commit
49f334284b
@ -70,7 +70,7 @@
|
||||
- name: Copying over custom haproxy services configuration
|
||||
vars:
|
||||
service: "{{ haproxy_services['haproxy'] }}"
|
||||
copy:
|
||||
template:
|
||||
src: "{{ item }}"
|
||||
dest: "{{ node_config_directory }}/haproxy/services.d/"
|
||||
mode: "0660"
|
||||
|
Loading…
Reference in New Issue
Block a user