haproxy/tasks/lua.yaml

14 lines
304 B
YAML
Raw Normal View History

2023-02-07 22:36:25 +00:00
---
- 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