On second thought, the approach that uses separate directories for each 
account would not work because the credentials to connect to said accounts 
are not stored in the ec2.ini file but rather the boto.conf file or 
environment variables.

On Thursday, August 13, 2015 at 10:16:51 AM UTC-5, datsun80 wrote:
>
> I have read about that way too. I like the approach of just specifying a 
> directory with -i and having ansible look at all inventory files but I 
> might have to switch back to specifying the exact inventory I want to work 
> with.
>
> On Thursday, August 13, 2015 at 10:05:54 AM UTC-5, Brian Coca wrote:
>>
>> I've seen 2 ways to approach this, using boto's builtin profiles to 
>> manage multiple accounts or create multiple instances of ec2.py and 
>> ec2.ini for each account and then use -i to point at individual ones 
>> or keep them in a directory and point at that with ansible.cfg 
>>
>> -- 
>> Brian Coca 
>>
>

-- 
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/502f2a29-d157-4df5-975c-69d4591143ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to