- name: Copy HAProxy files loop: - { src: 'haproxy.conf.j2', dest: '{{ haproxy.config }}' } template: follow: yes src: "{{ item.src }}" dest: "{{ item.dest }}" notify: Run service actions tags: - haproxy - config - name: Copy error page overrides copy: src: '{{ role_path }}/errpage/' dest: '/etc/haproxy/errors/' follow: yes notify: Run service actions tags: - haproxy - config - errorpages