1
0
Fork 0
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:
David Wittman 2016-03-27 15:30:27 -05:00
parent 0fffb6c60c
commit 5036d1742c
4 changed files with 10 additions and 10 deletions

View file

@ -56,8 +56,8 @@ options:
before sending any commands. If not specified, the device will before sending any commands. If not specified, the device will
attempt to excecute all commands in non-priviledged mode. attempt to excecute all commands in non-priviledged mode.
required: false required: false
default: false default: no
choices: BOOLEANS choices: ['yes', 'no']
auth_pass: auth_pass:
description: description:
- Specifies the password to use if required to enter privileged mode - 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 I(transport) argument is configured as eapi. If the transport
argument is not eapi, this value is ignored argument is not eapi, this value is ignored
required: false required: false
default: true default: yes
choices: BOOLEANS choices: ['yes', 'no']
provider: provider:
description: description:
- Convience method that allows all M(eos) arguments to be passed as - Convience method that allows all M(eos) arguments to be passed as

View file

@ -54,8 +54,8 @@ options:
before sending any commands. If not specified, the device will before sending any commands. If not specified, the device will
attempt to excecute all commands in non-priviledged mode. attempt to excecute all commands in non-priviledged mode.
required: false required: false
default: false default: no
choices: BOOLEANS choices: ['yes', 'no']
auth_pass: auth_pass:
description: description:
- Specifies the password to use if required to enter privileged mode - Specifies the password to use if required to enter privileged mode

View file

@ -63,8 +63,8 @@ options:
I(transport) argument is configured as nxapi. If the transport I(transport) argument is configured as nxapi. If the transport
argument is not nxapi, this value is ignored argument is not nxapi, this value is ignored
required: false required: false
default: false default: no
choices: BOOLEANS choices: ['yes', 'no']
provider: provider:
description: description:
- Convience method that allows all M(nxos) arguments to be passed as - Convience method that allows all M(nxos) arguments to be passed as

View file

@ -68,8 +68,8 @@ options:
I(transport) argument is configured as rest. If the transport I(transport) argument is configured as rest. If the transport
argument is not rest, this value is ignored argument is not rest, this value is ignored
required: false required: false
default: true default: yes
choices: BOOLEANS choices: ['yes', 'no']
provider: provider:
description: description:
- Convience method that allows all M(openswitch) arguments to be passed as - Convience method that allows all M(openswitch) arguments to be passed as