diff --git a/roles/lb-front/files/haproxy.cfg b/roles/lb-front/files/haproxy.cfg index 0f09078..37933e3 100644 --- a/roles/lb-front/files/haproxy.cfg +++ b/roles/lb-front/files/haproxy.cfg @@ -44,7 +44,6 @@ backend fermeweb #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 - #server s-lb-web3 192.168.101.3:80 check listen stats diff --git a/roles/lb-front/tasks/main.yml b/roles/lb-front/tasks/main.yml index 9b29b92..a419b51 100644 --- a/roles/lb-front/tasks/main.yml +++ b/roles/lb-front/tasks/main.yml @@ -15,8 +15,8 @@ balance roundrobin option httpclose #option httpchk HEAD / HTTP/1.0 - server web1.test 192.168.56.3:80 check - #server web2.test 192.168.56.4:80 check + server s-lb-web1 192.168.101.1:80 check + server s-lb-web2 192.168.101.2:80 check - name: redemarre haproxy service: diff --git a/s-lb.yml b/s-lb.yml index 7b0374f..9579662 100644 --- a/s-lb.yml +++ b/s-lb.yml @@ -5,7 +5,7 @@ roles: - base - goss - - s-lb-ab + - lb-front - snmp-agent - post