haproxy: syntax and whitespaces
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3bd0a4ffb3
commit
2ca7872eef
|
@ -4,8 +4,8 @@
|
||||||
name: ssl-cert
|
name: ssl-cert
|
||||||
state: present
|
state: present
|
||||||
tags:
|
tags:
|
||||||
- haproxy
|
- haproxy
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
- include: packages_backports.yml
|
- include: packages_backports.yml
|
||||||
when: haproxy_backports
|
when: haproxy_backports
|
||||||
|
@ -15,8 +15,8 @@
|
||||||
name: haproxy
|
name: haproxy
|
||||||
state: present
|
state: present
|
||||||
tags:
|
tags:
|
||||||
- haproxy
|
- haproxy
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
- name: Copy HAProxy configuration
|
- name: Copy HAProxy configuration
|
||||||
template:
|
template:
|
||||||
|
@ -25,14 +25,14 @@
|
||||||
force: "{{ haproxy_force_config }}"
|
force: "{{ haproxy_force_config }}"
|
||||||
validate: "haproxy -c -f %s"
|
validate: "haproxy -c -f %s"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "templates/haproxy/haproxy.{{ inventory_hostname }}.cfg.j2"
|
- "templates/haproxy/haproxy.{{ inventory_hostname }}.cfg.j2"
|
||||||
- "templates/haproxy/haproxy.{{ host_group }}.cfg.j2"
|
- "templates/haproxy/haproxy.{{ host_group }}.cfg.j2"
|
||||||
- "templates/haproxy/haproxy.default.cfg.j2"
|
- "templates/haproxy/haproxy.default.cfg.j2"
|
||||||
- "haproxy.default.cfg.j2"
|
- "haproxy.default.cfg.j2"
|
||||||
notify: reload haproxy
|
notify: reload haproxy
|
||||||
when: "{{ haproxy_update_config }}"
|
when: haproxy_update_config
|
||||||
tags:
|
tags:
|
||||||
- haproxy
|
- haproxy
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- include: munin.yml
|
- include: munin.yml
|
||||||
|
|
Loading…
Reference in a new issue