Pavel Loginov 2020-11-05 23:16:19 +06:00
parent c216487cac
commit 92103b2e37
1 changed files with 10 additions and 1 deletions

View File

@ -186,7 +186,16 @@
mode: 0644
validate: haproxy -f %s -c -q
notify: restart haproxy
- name: Creates HAProxy stats directory
file:
path: /var/lib/haproxy
owner: haproxy
group: haproxy
state: directory
ignore_errors: yes
- name: Enable and start service HAProxy
systemd: