mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Minor code formatting
This commit is contained in:
parent
db6c2bac75
commit
5378b5db98
1 changed files with 2 additions and 2 deletions
|
@ -291,7 +291,7 @@ def wait_for_elb(asg_connection, module, group_name):
|
||||||
elb_connection = connect_to_aws(boto.ec2.elb, region, **aws_connect_params)
|
elb_connection = connect_to_aws(boto.ec2.elb, region, **aws_connect_params)
|
||||||
except boto.exception.NoAuthHandlerFound, e:
|
except boto.exception.NoAuthHandlerFound, e:
|
||||||
module.fail_json(msg=str(e))
|
module.fail_json(msg=str(e))
|
||||||
|
|
||||||
wait_timeout = time.time() + wait_timeout
|
wait_timeout = time.time() + wait_timeout
|
||||||
healthy_instances = {}
|
healthy_instances = {}
|
||||||
|
|
||||||
|
@ -470,7 +470,7 @@ def delete_autoscaling_group(connection, module):
|
||||||
|
|
||||||
group.delete()
|
group.delete()
|
||||||
while len(connection.get_all_groups(names=[group_name])):
|
while len(connection.get_all_groups(names=[group_name])):
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
changed=True
|
changed=True
|
||||||
return changed
|
return changed
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue