Thanks for the reply. I look forward to the version supporting profiles. As for the workaround, I'm probably just missing something, but I don't see anything in the ini file that suggests having credentials in there. We need to use different credentials for every AWS account.
On Tuesday, 2 September 2014 23:44:52 UTC+1, Michael DeHaan wrote: > > There's a pull request for this in the queue, though you could also > include your inventories in seperate directories and have different copies > of the INI file as a workaround. > > (Or use Ansible Tower, which features some very nice graphical inventory > sync capabiliies with EC2 -- not trying to oversell it, but it's there, and > well done, and can say "only people in team X can deploy to this cloud", > etc, which can be nice) > > > > On Tue, Sep 2, 2014 at 12:13 PM, KSS <[email protected] <javascript:>> > wrote: > >> Hi, >> >> Are there any plans to update ec2.py so boto profiles can be used where >> we have multiple aws accounts? >> >> We currently use both awscli and boto using profiles to connection the >> appropriate credentials. I've seen the various ec2 modules now have a >> 'profile' parameter to enable use of boto profiles, but as far as I can >> tell, ec2.py doesn't allow for such an option and just relies on boto's >> default order of precedence for authentication credentials (falling to the >> credentials used when no profile parameter is passed). >> >> In the situation where people have multiple aws accounts, how are you >> using ec2.py for dynamic inventory? >> >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/8c3445a9-47fd-4034-a237-f13f4c7fdd53%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/8c3445a9-47fd-4034-a237-f13f4c7fdd53%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/5c9b0a41-d9dc-4c1e-b064-9f3ad6a9c6c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
