More validate module fixes (#39097)

* Fix type bool DOCUMENTATION issues
This commit is contained in:
John R Barker
2018-04-24 18:05:50 +01:00
committed by GitHub
parent b533ebe20d
commit 7c4b91844d
118 changed files with 187 additions and 398 deletions

View File

@@ -63,7 +63,7 @@ options:
- Specifies if the unmount should be forced.
required: false
default: false
choices: [ "true", "false" ]
type: bool
'''
EXAMPLES = '''

View File

@@ -27,32 +27,32 @@ options:
backup_crypt_files:
description:
- Backup encrypted files.
choices: ["yes", "no"]
type: bool
default: "yes"
backup_dmapi_fs:
description:
- Back up DMAPI filesystem files.
choices: ["yes", "no"]
type: bool
default: "yes"
create_map_files:
description:
- Creates a new MAP files.
choices: ["yes", "no"]
type: bool
default: "no"
exclude_files:
description:
- Excludes files using C(/etc/rootvg.exclude).
choices: ["yes", "no"]
type: bool
default: "no"
exclude_wpar_files:
description:
- Excludes WPAR files.
choices: ["yes", "no"]
type: bool
default: "no"
extended_attrs:
description:
- Backup extended attributes.
choices: ["yes", "no"]
type: bool
default: "yes"
name:
description:
@@ -61,13 +61,13 @@ options:
new_image_data:
description:
- Creates a new file data.
choices: ["yes", "no"]
type: bool
default: "yes"
software_packing:
description:
- Exclude files from packing option listed in
C(/etc/exclude_packing.rootvg).
choices: ["yes", "no"]
type: bool
default: "no"
storage_path:
description:
@@ -76,7 +76,7 @@ options:
use_snapshot:
description:
- Creates backup using snapshots.
choices: ["yes", "no"]
type: bool
default: "no"
'''

View File

@@ -89,7 +89,7 @@ options:
- Create a backup file including the timestamp information so you can get
the original file back if you somehow clobbered it incorrectly.
required: false
choices: [ "yes", "no" ]
type: bool
default: "no"
version_added: '2.5'
notes:

View File

@@ -39,14 +39,14 @@ options:
enabled or not.
enabled:
required: false
choices: [ "yes", "no" ]
type: bool
description:
- Enable or disable the service, independently of C(*.preset) file
preference or running state. Mutually exclusive with I(preset). Will take
effect prior to I(state=reset).
preset:
required: false
choices: [ "yes", "no" ]
type: bool
description:
- Enable or disable the service according to local preferences in *.preset files.
Mutually exclusive with I(enabled). Only has an effect if set to true. Will take
@@ -54,7 +54,7 @@ options:
user:
required: false
default: 'no'
choices: [ "yes", "no" ]
type: bool
description:
- Run system-control talking to the calling user's service manager, rather than
the system-wide service manager.

View File

@@ -41,7 +41,7 @@ options:
- the iscsi target name
login:
required: false
choices: [true, false]
type: bool
description:
- whether the target node should be connected
node_auth:
@@ -60,12 +60,12 @@ options:
auto_node_startup:
aliases: [automatic]
required: false
choices: [true, false]
type: bool
description:
- whether the target node should be automatically connected at startup
discover:
required: false
choices: [true, false]
type: bool
description:
- whether the list of target nodes on the portal should be
(re)discovered and added to the persistent iscsi database.
@@ -74,7 +74,7 @@ options:
a changed state.
show_nodes:
required: false
choices: [true, false]
type: bool
description:
- whether the list of nodes in the persistent iscsi database should be
returned by the module

View File

@@ -65,7 +65,7 @@ options:
- Create a backup file including the timestamp information so you can get
the original file back if you somehow clobbered it incorrectly.
required: false
choices: [ "yes", "no" ]
type: bool
default: "no"
use_min:
description:
@@ -73,7 +73,7 @@ options:
If the specified value is inferior to the value in the file, file content is replaced with the new value,
else content is not modified.
required: false
choices: [ "yes", "no" ]
type: bool
default: "no"
use_max:
description:
@@ -81,7 +81,7 @@ options:
If the specified value is superior to the value in the file, file content is replaced with the new value,
else content is not modified.
required: false
choices: [ "yes", "no" ]
type: bool
default: "no"
dest:
description: