From 3100ba51e2358a078779f7fbdffa551dec3bceaa Mon Sep 17 00:00:00 2001 From: Jimmy Chevanne Date: Mon, 22 Jan 2024 16:26:02 +0100 Subject: [PATCH] maj role lb-front --- roles/lb-front/files/goss.yaml | 23 ----------------------- roles/lb-front/files/haproxy.cfg | 2 +- roles/lb-front/tasks/main.yml | 2 +- 3 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 roles/lb-front/files/goss.yaml 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