22 lines
502 B
YAML
22 lines
502 B
YAML
- 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
|