diff --git a/roles/lb-front-ssl/tasks/main.yml b/roles/lb-front-ssl/tasks/main.yml index 6d0bab7..da8b9cd 100644 --- a/roles/lb-front-ssl/tasks/main.yml +++ b/roles/lb-front-ssl/tasks/main.yml @@ -10,6 +10,21 @@ csr_path: /etc/haproxy/crt/csr/haproxy.csr provider: selfsigned +- name: parametre global + blockinfile: + path: /etc/haproxy/haproxy.cfg + block: | + global + log /dev/log local0 + log /dev/log local1 notice + chroot /var/lib/haproxy + stats socket /run/haproxy/admin.sock mode 660 level admin + stats timeout 30s + user haproxy + group haproxy + daemon + ssl-server-verify none + - name: parametre backend et fontend blockinfile: path: /etc/haproxy/haproxy.cfg diff --git a/s-lb.yml b/s-lb.yml index 54e9583..68f3112 100644 --- a/s-lb.yml +++ b/s-lb.yml @@ -6,6 +6,7 @@ - base - goss - lb-front + #- lb-front-ssl #- zabbix-cli - ssh-cli - post