- name: ensure haproxy is configured
template:
src: haproxy.cfg.j2
dest: /etc/haproxy/conf.d/50-main.cfg
mode: u=rw,go=r
tags:
- config
- haproxy-config
notify: reload haproxy