mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Clean up module documentation (#36909)
* Clean up module documentation This PR includes: - Removal of `default: None` (and variations) - Removal of `required: false` - Fixing booleans and `type: bool` where required * Fix remaining (new) validation issues
This commit is contained in:
@@ -31,45 +31,37 @@ options:
|
||||
- The IP address of a previously allocated EIP.
|
||||
- If present and device is specified, the EIP is associated with the device.
|
||||
- If absent and device is specified, the EIP is disassociated from the device.
|
||||
required: false
|
||||
aliases: [ ip ]
|
||||
state:
|
||||
description:
|
||||
- If present, allocate an EIP or associate an existing EIP with a device.
|
||||
- If absent, disassociate the EIP from the device and optionally release it.
|
||||
required: false
|
||||
choices: ['present', 'absent']
|
||||
default: present
|
||||
in_vpc:
|
||||
description:
|
||||
- Allocate an EIP inside a VPC or not. Required if specifying an ENI.
|
||||
required: false
|
||||
default: false
|
||||
default: 'no'
|
||||
version_added: "1.4"
|
||||
reuse_existing_ip_allowed:
|
||||
description:
|
||||
- Reuse an EIP that is not associated to a device (when available), instead of allocating a new one.
|
||||
required: false
|
||||
default: false
|
||||
default: 'no'
|
||||
version_added: "1.6"
|
||||
release_on_disassociation:
|
||||
description:
|
||||
- whether or not to automatically release the EIP when it is disassociated
|
||||
required: false
|
||||
default: false
|
||||
default: 'no'
|
||||
version_added: "2.0"
|
||||
private_ip_address:
|
||||
description:
|
||||
- The primary or secondary private IP address to associate with the Elastic IP address.
|
||||
required: False
|
||||
default: None
|
||||
version_added: "2.3"
|
||||
allow_reassociation:
|
||||
description:
|
||||
- Specify this option to allow an Elastic IP address that is already associated with another
|
||||
network interface or instance to be re-associated with the specified instance or interface.
|
||||
required: false
|
||||
default: false
|
||||
default: 'no'
|
||||
version_added: "2.5"
|
||||
extends_documentation_fragment:
|
||||
- aws
|
||||
|
||||
Reference in New Issue
Block a user