Create a tmpfs at /var/log/haproxy.

Fixes #6.
This commit is contained in:
genofire 2020-10-16 15:55:54 +02:00
parent 31427fb19e
commit cb8403a0d3
1 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,14 @@
notify:
- Restart HAProxy
- name: Add /var/log/haproxy to fstab
mount:
path: /var/log/haproxy
src: tmpfs
fstype: tmpfs
opts: rw,size=128m,mode=750,uid=20000,gid=20000
state: mounted
- name: Create HAProxy service directories
file:
path: '/etc/s6-rc/service/{{ item }}'