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:
Dag Wieers 2018-03-15 22:15:24 +01:00 committed by GitHub
parent 58eb2e849d
commit cdd21e2170
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
624 changed files with 1458 additions and 9114 deletions

View file

@ -44,7 +44,6 @@ options:
state:
description:
- Whether the application should exist
required: false
choices: ['present', 'absent']
default: "present"
@ -57,19 +56,18 @@ options:
description:
- Whether the app should restart with an C(autostart.cgi) script
type: bool
default: "no"
default: 'no'
extra_info:
description:
- Any extra parameters required by the app
required: false
default: ''
port_open:
description:
- IF the port should be opened
type: bool
default: false
default: 'no'
login_name:
description:
@ -84,7 +82,7 @@ options:
machine:
description:
- The machine name to use (optional for accounts with only one machine)
default: false
default: False
'''