mirror of https://github.com/Aidaho12/haproxy-wi
ansible: fix logging
parent
d9870d15a0
commit
ade2172186
|
@ -614,8 +614,6 @@ if form.getvalue('master'):
|
||||||
else:
|
else:
|
||||||
for l in output:
|
for l in output:
|
||||||
if "msg" in l or "FAILED" in l:
|
if "msg" in l or "FAILED" in l:
|
||||||
l = l.split(':')[1]
|
|
||||||
l = l.split('"')[1]
|
|
||||||
print(l+"<br>")
|
print(l+"<br>")
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
@ -639,8 +637,6 @@ if form.getvalue('master'):
|
||||||
else:
|
else:
|
||||||
for l in output:
|
for l in output:
|
||||||
if "msg" in l or "FAILED" in l:
|
if "msg" in l or "FAILED" in l:
|
||||||
l = l.split(':')[1]
|
|
||||||
l = l.split('"')[1]
|
|
||||||
print(l+"<br>")
|
print(l+"<br>")
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue