From 7d41532bb2904475159c66aeee92155682b0bf08 Mon Sep 17 00:00:00 2001 From: Nick Aslanidis Date: Sun, 6 Mar 2016 16:36:13 +1000 Subject: [PATCH] corrected required to be bool instead of list --- .../modules/extras/cloud/amazon/ec2_vpc_vgw.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_vgw.py b/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_vgw.py index e641ed711b..58108c2dbf 100644 --- a/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_vgw.py +++ b/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_vgw.py @@ -35,15 +35,11 @@ options: name: description: - name of the vgw to be created or deleted - required: - - true when combined with a state of 'present' - - false when combined with a state of 'absent' + required: false type: description: - type of the virtual gateway to be created - required: - - true when combined with a state of 'present' - - false when combined with a state of 'absent' + required: false vpn_gateway_id: description: - vpn gateway id of an existing virtual gateway @@ -63,8 +59,8 @@ options: required: false author: Nick Aslanidis (@naslanidis) extends_documentation_fragment: - - aws - - ec2 + - aws + - ec2 ''' EXAMPLES = '''