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..."
This commit is contained in:
Brian Cavagnolo 2013-10-31 16:52:53 -07:00
parent 01ba1e9297
commit 869f32123b

View file

@ -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),