mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix tabbed indentation in network/haproxy.py
This commit is contained in:
parent
7f42dda976
commit
8c14013b95
1 changed files with 3 additions and 3 deletions
|
@ -312,9 +312,9 @@ class HAProxy(object):
|
||||||
Figure out what you want to do from ansible, and then do it.
|
Figure out what you want to do from ansible, and then do it.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
self.get_current_state(self.host, self.backend)
|
self.get_current_state(self.host, self.backend)
|
||||||
self.previous_states = ','.join(self.status_server)
|
self.previous_states = ','.join(self.status_server)
|
||||||
self.previous_weights = ','.join(self.status_weight)
|
self.previous_weights = ','.join(self.status_weight)
|
||||||
|
|
||||||
# toggle enable/disbale server
|
# toggle enable/disbale server
|
||||||
if self.state == 'enabled':
|
if self.state == 'enabled':
|
||||||
|
|
Loading…
Reference in a new issue