mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
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:
@@ -20,23 +20,17 @@ class ModuleDocFragment(object):
|
||||
DOCUMENTATION = """
|
||||
options:
|
||||
api_url:
|
||||
required: false
|
||||
default: null
|
||||
description:
|
||||
- The resolvable endpoint for the API
|
||||
api_username:
|
||||
required: false
|
||||
default: null
|
||||
description:
|
||||
- The username to use for authentication against the API
|
||||
api_password:
|
||||
required: false
|
||||
default: null
|
||||
description:
|
||||
- The password to use for authentication against the API
|
||||
validate_certs:
|
||||
required: false
|
||||
default: yes
|
||||
description:
|
||||
- Whether or not to validate SSL certs when supplying a https endpoint.
|
||||
type: bool
|
||||
default: 'yes'
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user