---
- name: Write maps for HAProxy
  copy:
    dest: "{{ haproxy_path }}/{{ item.key }}" 
    content: "{{ item.value }}"
  loop: "{{ haproxy_map | dict2items }}"
  notify: 
    - Reload HAProxy