pull/194/head
Pavel Loginov 2019-12-23 18:08:34 +03:00
parent 4f90857e21
commit ab1e72a5bc
2 changed files with 4 additions and 3 deletions

View File

@ -651,6 +651,7 @@ def ssh_command(serv, commands, **kwargs):
try:
ssh.close()
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)
pass

View File

@ -1,5 +1,5 @@
---
- name: check if HAProxy is installed Ubuntu
- name: check if HAProxy is installed
package_facts:
manager: "auto"
@ -8,7 +8,7 @@
service_facts:
- name: install HAProxy {{HAPVER}}
- name: install HAProxy {{HAPVER}} on EL6
yum:
name:
- http://repo.haproxy-wi.org/haproxy-{{HAPVER}}.el6.x86_64.rpm
@ -21,7 +21,7 @@
https_proxy: "{{PROXY}}"
- name: install HAProxy {{HAPVER}}
- name: install HAProxy {{HAPVER}} on EL7
yum:
name:
- http://repo.haproxy-wi.org/haproxy-{{HAPVER}}.el7.x86_64.rpm