Yes, you pass them as extra-vars, but there are many ways to do this, just 
watch out where you run your playbook and if AWS ENV variables are already 
set, as boto will take this into account also.
best to understand better the AWS credentials and profiles
http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html#credentials-default
 

On Monday, 3 July 2017 07:28:33 UTC+2, Suporter wrote:
>
> Any help?
>
> On Thursday, June 29, 2017 at 11:28:59 AM UTC+5:30, Suporter wrote:
>>
>> Hi Ansiblers,
>>        How can i use same playbook for multiple aws accounts, can i give 
>> the access key and secret key as command line paramters in playbook?
>>
>

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/587193d4-4bda-4df2-8a52-5396cc221117%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to