mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02: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:
@@ -38,24 +38,18 @@ options:
|
||||
version_added: "2.3"
|
||||
description:
|
||||
- set active-partition
|
||||
required: false
|
||||
default: null
|
||||
virtual_server:
|
||||
description:
|
||||
- The SLB (Server Load Balancing) virtual server name.
|
||||
required: true
|
||||
default: null
|
||||
aliases: ['vip', 'virtual']
|
||||
virtual_server_ip:
|
||||
description:
|
||||
- The SLB virtual server IPv4 address.
|
||||
required: false
|
||||
default: null
|
||||
aliases: ['ip', 'address']
|
||||
virtual_server_status:
|
||||
description:
|
||||
- The SLB virtual server status, such as enabled or disabled.
|
||||
required: false
|
||||
default: enable
|
||||
aliases: ['status']
|
||||
choices: ['enabled', 'disabled']
|
||||
@@ -65,14 +59,12 @@ options:
|
||||
dictionary which specifies the C(port:) and C(type:), but can also optionally
|
||||
specify the C(service_group:) as well as the C(status:). See the examples
|
||||
below for details. This parameter is required when C(state) is C(present).
|
||||
required: false
|
||||
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