- name: Copy HAProxy files loop: - { src: 'haproxy.conf.j2', dest: '/etc/haproxy/haproxy.cfg' } template: follow: yes src: "{{ item.src }}" dest: "{{ item.dest }}" notify: Run service actions tags: - update - haproxy - configs