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

@@ -40,7 +40,7 @@ options:
description:
- Force disabling of default modules and override Debian warnings.
required: false
choices: ['True', 'False']
type: bool
default: False
version_added: "2.1"
state:
@@ -51,7 +51,7 @@ options:
ignore_configcheck:
description:
- Ignore configuration checks about inconsistent module configuration. Especially for mpm_* modules.
choices: ['True', 'False']
type: bool
default: False
version_added: "2.3"
requirements: ["a2enmod","a2dismod"]

View File

@@ -63,7 +63,7 @@ options:
- Fail the command immediately if a test fails. Used by the 'test' command.
required: false
default: "no"
choices: [ "yes", "no" ]
type: bool
fixtures:
description:
- A space-delimited list of fixture file names to load in the database. B(Required) by the 'loaddata' command.

View File

@@ -41,7 +41,7 @@ options:
- enables or disables the local syslog facility for this module
required: false
default: false
choices: [ 'true', 'false', 'yes', 'no' ]
type: bool
state:
description:
- describe the desired state of the user to be managed

View File

@@ -53,7 +53,7 @@ options:
- Whether the user entry should be present or not
create:
required: false
choices: [ "yes", "no" ]
type: bool
default: "yes"
description:
- Used with C(state=present). If specified, the file will be created