parent
31427fb19e
commit
cb8403a0d3
1 changed files with 8 additions and 0 deletions
|
@ -23,6 +23,14 @@
|
||||||
notify:
|
notify:
|
||||||
- Restart HAProxy
|
- 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
|
- name: Create HAProxy service directories
|
||||||
file:
|
file:
|
||||||
path: '/etc/s6-rc/service/{{ item }}'
|
path: '/etc/s6-rc/service/{{ item }}'
|
||||||
|
|
Loading…
Reference in a new issue