diff --git a/roles/haproxy/tasks/main.yml b/roles/haproxy/tasks/main.yml index c2b81ae..f055533 100644 --- a/roles/haproxy/tasks/main.yml +++ b/roles/haproxy/tasks/main.yml @@ -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 }}'