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:
Brian Coca
2016-04-01 16:58:30 -04:00
committed by Matt Clay
parent 1bdc3b3bb0
commit 37513ca8bb
5 changed files with 11 additions and 8 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -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: