mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-31 13:29:08 -07: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:
parent
58eb2e849d
commit
cdd21e2170
624 changed files with 1458 additions and 9114 deletions
|
@ -42,33 +42,23 @@ options:
|
|||
description:
|
||||
- Full name of the interface, i.e. 40GE1/0/22.
|
||||
required: true
|
||||
default: null
|
||||
mode:
|
||||
description:
|
||||
- The link type of an interface.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['access','trunk']
|
||||
access_vlan:
|
||||
description:
|
||||
- If C(mode=access), used as the access VLAN ID, in the range from 1 to 4094.
|
||||
required: false
|
||||
default: null
|
||||
native_vlan:
|
||||
description:
|
||||
- If C(mode=trunk), used as the trunk native VLAN ID, in the range from 1 to 4094.
|
||||
required: false
|
||||
default: null
|
||||
trunk_vlans:
|
||||
description:
|
||||
- If C(mode=trunk), used as the VLAN range to ADD or REMOVE
|
||||
from the trunk, such as 2-10 or 2,5,10-15, etc.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent', 'unconfigured']
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue