mirror of https://dev.ccchb.de/ccchb/ansible.git
parent
97daf854d0
commit
28fbdff74b
|
@ -31,6 +31,14 @@
|
||||||
opts: rw,size=128m,mode=750,uid=20000,gid=20000,late
|
opts: rw,size=128m,mode=750,uid=20000,gid=20000,late
|
||||||
state: mounted
|
state: mounted
|
||||||
|
|
||||||
|
- name: Create /var/run/haproxy
|
||||||
|
file:
|
||||||
|
path: /var/run/haproxy
|
||||||
|
state: directory
|
||||||
|
owner: root
|
||||||
|
group: wheel
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
- name: Create HAProxy service directories
|
- name: Create HAProxy service directories
|
||||||
file:
|
file:
|
||||||
path: '/etc/s6-rc/service/{{ item }}'
|
path: '/etc/s6-rc/service/{{ item }}'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
global
|
global
|
||||||
chroot /var/empty
|
chroot /var/run/haproxy
|
||||||
log stdout format raw local0 info
|
log stdout format raw local0 info
|
||||||
user haproxy
|
user haproxy
|
||||||
group haproxy
|
group haproxy
|
||||||
|
|
Loading…
Reference in New Issue