mirror of https://github.com/Aidaho12/haproxy-wi
v3.9.4
parent
4f90857e21
commit
ab1e72a5bc
|
@ -651,6 +651,7 @@ def ssh_command(serv, commands, **kwargs):
|
||||||
try:
|
try:
|
||||||
ssh.close()
|
ssh.close()
|
||||||
except:
|
except:
|
||||||
|
print("<div class='alert alert-danger' style='margin: 0;'>"+str(ssh)+"<a title='Close' id='errorMess'><b>X</b></a></div>")
|
||||||
logging('localhost', ' '+str(ssh), haproxywi=1)
|
logging('localhost', ' '+str(ssh), haproxywi=1)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: check if HAProxy is installed Ubuntu
|
- name: check if HAProxy is installed
|
||||||
package_facts:
|
package_facts:
|
||||||
manager: "auto"
|
manager: "auto"
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
service_facts:
|
service_facts:
|
||||||
|
|
||||||
|
|
||||||
- name: install HAProxy {{HAPVER}}
|
- name: install HAProxy {{HAPVER}} on EL6
|
||||||
yum:
|
yum:
|
||||||
name:
|
name:
|
||||||
- http://repo.haproxy-wi.org/haproxy-{{HAPVER}}.el6.x86_64.rpm
|
- http://repo.haproxy-wi.org/haproxy-{{HAPVER}}.el6.x86_64.rpm
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
https_proxy: "{{PROXY}}"
|
https_proxy: "{{PROXY}}"
|
||||||
|
|
||||||
|
|
||||||
- name: install HAProxy {{HAPVER}}
|
- name: install HAProxy {{HAPVER}} on EL7
|
||||||
yum:
|
yum:
|
||||||
name:
|
name:
|
||||||
- http://repo.haproxy-wi.org/haproxy-{{HAPVER}}.el7.x86_64.rpm
|
- http://repo.haproxy-wi.org/haproxy-{{HAPVER}}.el7.x86_64.rpm
|
||||||
|
|
Loading…
Reference in New Issue