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