1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Correct the default doc for attached in ec2_eni (#44523)

* Correct the default doc for attached in ec2_eni

Also corrected a typo in the summary

* Address ansible-test sanity error about E324

* Fix and remove the E325 suppression for ec2_eni
This commit is contained in:
/v\atthew L Daniel 2018-08-22 19:44:49 -07:00 committed by Jordan Borean
parent 3db93e4c2a
commit d7e66f16a6
2 changed files with 6 additions and 4 deletions

View file

@ -60,9 +60,8 @@ options:
default: 0
attached:
description:
- Specifies if network interface should be attached or detached from instance. If ommited, attachment status
- Specifies if network interface should be attached or detached from instance. If omitted, attachment status
won't change
default: 'yes'
version_added: 2.2
type: bool
force_detach:
@ -70,16 +69,19 @@ options:
- Force detachment of the interface. This applies either when explicitly detaching the interface by setting instance_id
to None or when deleting an interface with state=absent.
default: 'no'
type: bool
delete_on_termination:
description:
- Delete the interface when the instance it is attached to is terminated. You can only specify this flag when the
interface is being modified, not on creation.
required: false
type: bool
source_dest_check:
description:
- By default, interfaces perform source/destination checks. NAT instances however need this check to be disabled.
You can only specify this flag when the interface is being modified, not on creation.
required: false
type: bool
secondary_private_ip_addresses:
description:
- A list of IP addresses to assign as secondary IP addresses to the network interface.
@ -91,6 +93,7 @@ options:
- To be used with I(secondary_private_ip_addresses) to determine whether or not to remove any secondary IP addresses other than those specified.
Set secondary_private_ip_addresses to an empty list to purge all secondary addresses.
default: no
type: bool
version_added: 2.5
secondary_private_ip_address_count:
description:
@ -103,6 +106,7 @@ options:
to be reassigned to the specified network interface.
required: false
default: 'no'
type: bool
version_added: 2.7
extends_documentation_fragment:
- aws

View file

@ -54,8 +54,6 @@ lib/ansible/modules/cloud/amazon/ec2_elb.py E326
lib/ansible/modules/cloud/amazon/ec2_elb_facts.py E323
lib/ansible/modules/cloud/amazon/ec2_elb_lb.py E324
lib/ansible/modules/cloud/amazon/ec2_elb_lb.py E325
lib/ansible/modules/cloud/amazon/ec2_eni.py E324
lib/ansible/modules/cloud/amazon/ec2_eni.py E325
lib/ansible/modules/cloud/amazon/ec2_group.py E322
lib/ansible/modules/cloud/amazon/ec2_group.py E325
lib/ansible/modules/cloud/amazon/ec2_instance.py E324