From bc94e691e85c02f1eec9fbb295f06058e033b86b 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 --- cloud/amazon/cloudformation.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cloud/amazon/cloudformation.py b/cloud/amazon/cloudformation.py index e8811049b13..5e24b4433df 100644 --- a/cloud/amazon/cloudformation.py +++ b/cloud/amazon/cloudformation.py @@ -247,7 +247,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') ) ) @@ -400,4 +400,5 @@ def main(): from ansible.module_utils.basic import * from ansible.module_utils.ec2 import * -main() +if __name__ == '__main__': + main()