diff --git a/roles/lb-front/files/goss.yaml b/roles/lb-front/files/goss.yaml deleted file mode 100644 index 4c24938..0000000 --- a/roles/lb-front/files/goss.yaml +++ /dev/null @@ -1,23 +0,0 @@ -port: - tcp:80: - listening: true - ip: - - 192.168.100.11 -service: - haproxy: - enabled: true - running: true - sshd: - enabled: true - running: true -interface: - enp0s8: - exists: true - addrs: - - 192.168.100.11/24 - mtu: 1500 - enp0s9: - exists: true - addrs: - - 192.168.101.254/24 - mtu: 1500 diff --git a/roles/lb-front/files/haproxy.cfg b/roles/lb-front/files/haproxy.cfg index 37933e3..f33d8ff 100644 --- a/roles/lb-front/files/haproxy.cfg +++ b/roles/lb-front/files/haproxy.cfg @@ -41,7 +41,7 @@ frontend proxypublic backend fermeweb balance roundrobin option httpclose - #option httpchk HEAD / HTTP/1.0 + option httpchk HEAD / HTTP/1.0 server s-lb-web1 192.168.101.1:80 check server s-lb-web2 192.168.101.2:80 check diff --git a/roles/lb-front/tasks/main.yml b/roles/lb-front/tasks/main.yml index ce787ca..3fce6ac 100644 --- a/roles/lb-front/tasks/main.yml +++ b/roles/lb-front/tasks/main.yml @@ -14,7 +14,7 @@ backend fermeweb balance roundrobin option httpclose - #option httpchk HEAD / HTTP/1.0 + option httpchk HEAD / HTTP/1.0 server s-lb-web1 192.168.101.1:80 check server s-lb-web2 192.168.101.2:80 check