This repository has been archived on 2020-07-02. You can view files and clone it, but cannot push or open issues or pull requests.
2020-05-16 18:28:07 +00:00
|
|
|
- name: Copy HAProxy files
|
|
|
|
loop:
|
2020-05-21 18:20:43 +00:00
|
|
|
- { src: 'haproxy.conf.j2', dest: '{{ haproxy.config }}' }
|
2020-05-16 18:28:07 +00:00
|
|
|
template:
|
|
|
|
follow: yes
|
|
|
|
src: "{{ item.src }}"
|
|
|
|
dest: "{{ item.dest }}"
|
|
|
|
notify: Run service actions
|
|
|
|
tags:
|
|
|
|
- haproxy
|
2020-05-16 20:25:53 +00:00
|
|
|
- config
|
2020-06-07 14:16:32 +00:00
|
|
|
- name: Copy error page overrides
|
|
|
|
copy:
|
|
|
|
src: '{{ role_path }}/errpage/'
|
|
|
|
dest: '/etc/haproxy/errors/'
|
|
|
|
follow: yes
|
|
|
|
notify: Run service actions
|
|
|
|
tags:
|
|
|
|
- haproxy
|
|
|
|
- config
|
|
|
|
- errorpages
|