Hi Clark,

which version of Ansible are you running? you can find this out by running

ansible --version

Can you provide the playbook you are using to call the cloudformation
module and perhaps the cloudformation template?

It sounds like you should be using the parameter stack_policy instead of
stack_policy_body? or that you are passing something other than a string.

http://boto.readthedocs.org/en/latest/ref/cloudformation.html?highlight=create_stack#module-boto.cloudformation.connection

https://github.com/ansible/ansible-modules-core/blob/stable-1.9/cloud/amazon/cloudformation.py#L215
The stack_policy_body actually gets set to this parameter and then parsed
in to create_stack.

Thanks!


On 2 November 2015 at 09:11, Clark Zheng <[email protected]> wrote:

> Hi,
>
> When i execute playbook for cloudformation module on ubuntu 14, one
> exception will throw as: * create_stack() got an unexpected keyword
> argument 'stack_policy_body'.*
>
> Python version is 2.7 and python-boto has already been update to latest
> version via apt-get update.
>
> Looks like this is caused by environment but i have no idea how to fix it
> on my workstation.
>
> It's appreciated for your comments.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/b546194d-16df-4e4c-a5a7-75fe9a601ed6%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/b546194d-16df-4e4c-a5a7-75fe9a601ed6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BemtqsGy82cxmN7RBop5U1EbWht82wFNUsRSHxdRS%3DOEV6vCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to