mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
9adde1eab0
commit
ae0f80c6e8
1 changed files with 1 additions and 1 deletions
|
@ -591,7 +591,7 @@ class ElbManager(object):
|
||||||
|
|
||||||
def _set_cross_az_load_balancing(self):
|
def _set_cross_az_load_balancing(self):
|
||||||
attributes = self.elb.get_attributes()
|
attributes = self.elb.get_attributes()
|
||||||
if self.cross_az_load_balancing == 'yes':
|
if self.cross_az_load_balancing:
|
||||||
attributes.cross_zone_load_balancing.enabled = True
|
attributes.cross_zone_load_balancing.enabled = True
|
||||||
else:
|
else:
|
||||||
attributes.cross_zone_load_balancing.enabled = False
|
attributes.cross_zone_load_balancing.enabled = False
|
||||||
|
|
Loading…
Reference in a new issue