ansible/ansible — pull request #5987 by willthames (2014-02-13 09:00:06+00:00)
Title: Allow ec2 inventory to use a boto profile

##### Issue Type:

Feature Pull Request

##### Ansible Version:

Based on:
ansible 1.5 (devel 6f405c8970) last updated 2014/02/13 18:12:39 (GMT +1000)

##### Environment:

N/A

##### Summary:

This allows the EC2 inventory plugin to be used with
the same configuration against different EC2 accounts

Added documentation on profiles to EC2 dynamic inventory doc

Only tries to use profiles if --profile argument is given
to maintain compatibility will boto < 2.24.

Works around a minor bug in boto where if you try and use
a security token with a profile it fails (boto/boto#2100)