From 3dde5196aab67d2a86c33383baa5121737c4930d Mon Sep 17 00:00:00 2001 From: Constantin07 Date: Wed, 24 Feb 2016 23:33:42 +0000 Subject: [PATCH] Added explicit type for 'tags' option --- lib/ansible/modules/cloud/amazon/cloudformation.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/cloudformation.py b/lib/ansible/modules/cloud/amazon/cloudformation.py index 1b17d09296f..f04af81ab25 100644 --- a/lib/ansible/modules/cloud/amazon/cloudformation.py +++ b/lib/ansible/modules/cloud/amazon/cloudformation.py @@ -257,7 +257,7 @@ def main(): disable_rollback=dict(default=False, type='bool'), template_url=dict(default=None, required=False), template_format=dict(default='json', choices=['json', 'yaml'], required=False), - tags=dict(default=None) + tags=dict(default=None, type='dict') ) ) @@ -410,4 +410,5 @@ def main(): from ansible.module_utils.basic import * from ansible.module_utils.ec2 import * -main() +if __name__ == '__main__': + main()