haproxy: syntax and whitespaces

This commit is contained in:
Jérémy Lecour 2020-06-04 11:22:52 +02:00 committed by Gitea
parent 8d8e5f6998
commit a841e60531

View file

@ -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