From 869f32123bbd093ce45e86446b3853132292dfa4 Mon Sep 17 00:00:00 2001 From: Brian Cavagnolo Date: Thu, 31 Oct 2013 16:52:53 -0700 Subject: [PATCH] make cloudformation module accept template_parameters from command line Passing cloudformation template_parameters on the command line like so was failing: ansible localhost -m cloudformation -a "...template_parameters=foo=5,bar=4..." --- library/cloud/cloudformation | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/cloud/cloudformation b/library/cloud/cloudformation index 41323ac562b..ae85487bc95 100644 --- a/library/cloud/cloudformation +++ b/library/cloud/cloudformation @@ -159,7 +159,7 @@ def main(): module = AnsibleModule( argument_spec=dict( stack_name=dict(required=True), - template_parameters=dict(required=True), + template_parameters=dict(required=True, type='dict'), region=dict(aliases=['aws_region', 'ec2_region'], required=True, choices=AWS_REGIONS), state=dict(default='present', choices=['present', 'absent']), template=dict(default=None, required=True),