Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Jul 1, 2022
1 parent 42c6c5b commit 42ae1b3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
12 changes: 6 additions & 6 deletions docs/community.aws.autoscaling_instance_refresh_info_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -448,12 +448,12 @@ Common return values are documented `here <https://docs.ansible.com/ansible/late
<td>
<div>The current state of the group when DeleteAutoScalingGroup is in progress.</div>
<div>The following are the possible statuses</div>
<div><code>Pending</code>: The request was created, but the operation has not started.</div>
<div><code>InProgress</code>: The operation is in progress.</div>
<div><code>Successful</code>: The operation completed successfully.</div>
<div><code>Failed</code>: The operation failed to complete. You can troubleshoot using the status reason and the scaling activities.</div>
<div><code>Cancelling</code>: An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.</div>
<div><code>Cancelled</code>: The operation is cancelled.</div>
<div><code>Pending</code> - The request was created, but the operation has not started.</div>
<div><code>InProgress</code> - The operation is in progress.</div>
<div><code>Successful</code> - The operation completed successfully.</div>
<div><code>Failed</code> - The operation failed to complete. You can troubleshoot using the status reason and the scaling activities.</div>
<div><code>Cancelling</code> - An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.</div>
<div><code>Cancelled</code> - The operation is cancelled.&#x27;</div>
<br/>
<div style="font-size: smaller"><b>Sample:</b></div>
<div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">Pending</div>
Expand Down
1 change: 0 additions & 1 deletion plugins/modules/autoscaling_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,6 @@
from ansible_collections.amazon.aws.plugins.module_utils.ec2 import AWSRetry
from ansible_collections.amazon.aws.plugins.module_utils.ec2 import snake_dict_to_camel_dict
from ansible_collections.amazon.aws.plugins.module_utils.ec2 import camel_dict_to_snake_dict
from ansible_collections.amazon.aws.plugins.module_utils.ec2 import ansible_dict_to_boto3_filter_list

ASG_ATTRIBUTES = ('AvailabilityZones', 'DefaultCooldown', 'DesiredCapacity',
'HealthCheckGracePeriod', 'HealthCheckType', 'LaunchConfigurationName',
Expand Down
15 changes: 9 additions & 6 deletions plugins/modules/autoscaling_instance_refresh_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,15 @@
description:
- The current state of the group when DeleteAutoScalingGroup is in progress.
- The following are the possible statuses
- 'C(Pending): The request was created, but the operation has not started.'
- 'C(InProgress): The operation is in progress.'
- 'C(Successful): The operation completed successfully.'
- 'C(Failed): The operation failed to complete. You can troubleshoot using the status reason and the scaling activities.'
- 'C(Cancelling): An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.'
- 'C(Cancelled): The operation is cancelled.'
- C(Pending) - The request was created, but the operation has not started.
- C(InProgress) - The operation is in progress.
- C(Successful) - The operation completed successfully.
- C(Failed) - The operation failed to complete.
You can troubleshoot using the status reason and the scaling activities.
- C(Cancelling) - An ongoing operation is being cancelled.
Cancellation does not roll back any replacements that have already been
completed, but it prevents new replacements from being started.
- C(Cancelled) - The operation is cancelled.'
returned: success
type: str
sample: "Pending"
Expand Down

0 comments on commit 42ae1b3

Please sign in to comment.