---
- name: configure haproxy
  assemble: src=/etc/haproxy/config.parts
            dest=/etc/haproxy/haproxy.cfg
            delimiter="# INCLUDED CONFIG FRAGMENT"
            backup=yes
  notify: restart haproxy

---
- name: configure haproxy
  assemble: src=/etc/haproxy/config.parts
            dest=/etc/haproxy/haproxy.cfg
            delimiter="# INCLUDED CONFIG FRAGMENT"
            backup=yes
  notify: up-down haproxy

Use up-down to restart haproxy
Use up-down to restart haproxy

Per Flori's suggestion, to make restart fast. This
doesn't check the up status afterwards, though.
