exception for cloudformation module

118 views
Skip to first unread message

Clark Zheng

unread,
Nov 2, 2015, 12:12:10 PM11/2/15
to Ansible Project
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

Stephen Granger

unread,
Nov 9, 2015, 12:02:09 PM11/9/15
to ansible...@googlegroups.com
Hi Clark,

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

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b546194d-16df-4e4c-a5a7-75fe9a601ed6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Steve

Stephen Granger

unread,
Nov 9, 2015, 12:17:27 PM11/9/15
to ansible...@googlegroups.com
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.


Thanks!


On 2 November 2015 at 09:11, Clark Zheng <clark...@gmail.com> wrote:

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b546194d-16df-4e4c-a5a7-75fe9a601ed6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Steve
Reply all
Reply to author
Forward
0 new messages