mirror of
https://gitea.0xace.cc/ansible-galaxy/haproxy.git
synced 2024-11-24 16:06:40 +00:00
14 lines
304 B
YAML
14 lines
304 B
YAML
---
|
|
- name: Create lua dir for HAProxy
|
|
file:
|
|
path: "{{ haproxy_lua_path }}"
|
|
state: directory
|
|
|
|
- name: Write lua files for HAProxy
|
|
copy:
|
|
dest: "{{ haproxy_lua_path }}/{{ item.key }}"
|
|
content: "{{ item.value }}"
|
|
loop: "{{ haproxy_lua | dict2items }}"
|
|
notify:
|
|
- Reload HAProxy
|