Ah ok.
I have changed it to
shell python3 -E /usr/bin/aws ec2 associate-address --instance-id={{ item.id }}
--allocation-id eipalloc-b9df00dc
and get
Unable to locate credentials. You can configure credentials by running "aws
configure".
so just need to solve that now. I configured aws for ubuntu user but i
guess i need to configure for user that runs this shell command.
Thanks
On Friday, 25 September 2015 14:50:12 UTC+1, Brian Coca wrote:
>
> you are using python3 for a python2 app
>
>
>
> --
> Brian Coca
>
--
This message is private and confidential and for the exclusive use of the
intended recipient(s). If you receive this email in error, please notify
the sender immediately and delete all copies from your system. If you are
not the intended recipient disclosure, distribution, copying or use of this
communication is strictly prohibited. Any views or opinions presented in
this email are solely those of the author and do not necessarily represent
those of IDG UK. Clients and suppliers can view our full terms and
conditions at www.idg.co.uk/terms-and-conditions/
IDG Communications Ltd. Company Reg No: 1197840. Registered in England and
Wales.
--
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/b1658a60-7cf3-4f69-aa13-4bc92029845a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.