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
parent 7080dd057b
commit 20e4ad0eef
5 changed files with 11 additions and 8 deletions

View file

@ -24,8 +24,8 @@ version_added: "1.4"
options:
cidr_block:
description:
- "The cidr block representing the VPC, e.g. 10.0.0.0/16"
required: false, unless state=present
- "The cidr block representing the VPC, e.g. 10.0.0.0/16", required when I(state) is 'present'.
required: false
instance_tenancy:
description:
- "The supported tenancy options for instances launched into the VPC."

View file

@ -68,7 +68,7 @@ options:
cache_subnet_group:
description:
- The subnet group name to associate with. Only use if inside a vpc. Required if inside a vpc
required: conditional
required: false
default: None
version_added: "2.0"
security_group_ids:

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: