From 2dc689894c4182419a85d4be40f0d1f1c9c88c18 Mon Sep 17 00:00:00 2001 From: whiter Date: Fri, 17 Jul 2015 15:54:17 +1000 Subject: [PATCH] Added 'resource_tags' alias --- lib/ansible/modules/cloud/amazon/ec2_vpc_net.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2_vpc_net.py b/lib/ansible/modules/cloud/amazon/ec2_vpc_net.py index ebdd4ed6504..2ee730f59cb 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_vpc_net.py +++ b/lib/ansible/modules/cloud/amazon/ec2_vpc_net.py @@ -59,6 +59,7 @@ options: - The tags you want attached to the VPC. This is independent of the name value, note if you pass a 'Name' key it would override the Name of the VPC if it's different. default: None required: false + aliases: [ 'resource_tags' ] state: description: - The state of the VPC. Either absent or present. @@ -186,7 +187,7 @@ def main(): dns_support = dict(type='bool', default=True), dns_hostnames = dict(type='bool', default=True), dhcp_opts_id = dict(type='str', default=None, required=False), - tags = dict(type='dict', required=False, default=None), + tags = dict(type='dict', required=False, default=None, aliases=['resource_tags']), state = dict(choices=['present', 'absent'], default='present'), multi_ok = dict(type='bool', default=False) )