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]> 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]. > 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/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/CA%2BnsWgxs1UJiSHjtBEuadx8xe-eU-EmjBRZGSsie9wp8XZPSZA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
