mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix boolean choices in module docs fragments
A few of the docs fragments have the available choices for some params defined as "BOOLEANS". Because choices accepts a list, it treats "BOOLEANS" as an iterable and then generates a list composed of each letter. Instead, define the available choices as a list of `['yes', 'no']`, as is common in most other modules.
This commit is contained in:
parent
0fffb6c60c
commit
5036d1742c
4 changed files with 10 additions and 10 deletions
|
@ -56,8 +56,8 @@ options:
|
|||
before sending any commands. If not specified, the device will
|
||||
attempt to excecute all commands in non-priviledged mode.
|
||||
required: false
|
||||
default: false
|
||||
choices: BOOLEANS
|
||||
default: no
|
||||
choices: ['yes', 'no']
|
||||
auth_pass:
|
||||
description:
|
||||
- Specifies the password to use if required to enter privileged mode
|
||||
|
@ -78,8 +78,8 @@ options:
|
|||
I(transport) argument is configured as eapi. If the transport
|
||||
argument is not eapi, this value is ignored
|
||||
required: false
|
||||
default: true
|
||||
choices: BOOLEANS
|
||||
default: yes
|
||||
choices: ['yes', 'no']
|
||||
provider:
|
||||
description:
|
||||
- Convience method that allows all M(eos) arguments to be passed as
|
||||
|
|
|
@ -54,8 +54,8 @@ options:
|
|||
before sending any commands. If not specified, the device will
|
||||
attempt to excecute all commands in non-priviledged mode.
|
||||
required: false
|
||||
default: false
|
||||
choices: BOOLEANS
|
||||
default: no
|
||||
choices: ['yes', 'no']
|
||||
auth_pass:
|
||||
description:
|
||||
- Specifies the password to use if required to enter privileged mode
|
||||
|
|
|
@ -63,8 +63,8 @@ options:
|
|||
I(transport) argument is configured as nxapi. If the transport
|
||||
argument is not nxapi, this value is ignored
|
||||
required: false
|
||||
default: false
|
||||
choices: BOOLEANS
|
||||
default: no
|
||||
choices: ['yes', 'no']
|
||||
provider:
|
||||
description:
|
||||
- Convience method that allows all M(nxos) arguments to be passed as
|
||||
|
|
|
@ -68,8 +68,8 @@ options:
|
|||
I(transport) argument is configured as rest. If the transport
|
||||
argument is not rest, this value is ignored
|
||||
required: false
|
||||
default: true
|
||||
choices: BOOLEANS
|
||||
default: yes
|
||||
choices: ['yes', 'no']
|
||||
provider:
|
||||
description:
|
||||
- Convience method that allows all M(openswitch) arguments to be passed as
|
||||
|
|
Loading…
Reference in a new issue