mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
corrected required docs as only boolean is allowed
these complex values were not displayed and would always show the fields as requried
This commit is contained in:
@@ -54,8 +54,9 @@ options:
|
||||
network:
|
||||
description:
|
||||
- Unique name or ID of the external gateway network.
|
||||
- required I(interfaces) or I(enable_snat) are provided,
|
||||
type: string
|
||||
required: true when I(interfaces) or I(enable_snat) are provided,
|
||||
required: false
|
||||
false otherwise.
|
||||
default: None
|
||||
external_fixed_ips:
|
||||
|
||||
@@ -42,7 +42,8 @@ options:
|
||||
network_name:
|
||||
description:
|
||||
- Name of the network to which the subnet should be attached
|
||||
required: true when state is 'present'
|
||||
- requried when I(state) is 'present'
|
||||
required: false
|
||||
name:
|
||||
description:
|
||||
- The name of the subnet that should be created. Although Neutron
|
||||
@@ -52,8 +53,8 @@ options:
|
||||
cidr:
|
||||
description:
|
||||
- The CIDR representation of the subnet that should be assigned to
|
||||
the subnet.
|
||||
required: true when state is 'present'
|
||||
the subnet. Required when I(state) is 'present'
|
||||
required: false
|
||||
default: None
|
||||
ip_version:
|
||||
description:
|
||||
|
||||
@@ -41,7 +41,8 @@ options:
|
||||
password:
|
||||
description:
|
||||
- Password for the user
|
||||
required: true when I(state) is present
|
||||
- Required when I(state) is present
|
||||
required: false
|
||||
default: None
|
||||
email:
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user