mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +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:
@@ -40,7 +40,6 @@ options:
|
||||
server_status:
|
||||
description:
|
||||
- The SLB (Server Load Balancer) virtual server status.
|
||||
required: false
|
||||
default: enable
|
||||
aliases: ['action']
|
||||
choices: ['enable', 'disable']
|
||||
@@ -48,23 +47,19 @@ options:
|
||||
description:
|
||||
- A list of ports to create for the server. Each list item should be a dictionary which specifies the C(port:)
|
||||
and C(protocol:).
|
||||
required: false
|
||||
default: null
|
||||
aliases: ['port']
|
||||
operation:
|
||||
description:
|
||||
- Create, Update or Remove SLB server. For create and update operation, we use the IP address and server
|
||||
name specified in the POST message. For delete operation, we use the server name in the request URI.
|
||||
required: false
|
||||
default: create
|
||||
choices: ['create', 'update', 'remove']
|
||||
validate_certs:
|
||||
description:
|
||||
- If C(no), SSL certificates will not be validated. This should only be used
|
||||
on personally controlled devices using self-signed certificates.
|
||||
required: false
|
||||
type: bool
|
||||
default: 'yes'
|
||||
choices: ['yes', 'no']
|
||||
|
||||
'''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user