Merge pull request #4789 from mohangk/devel

Fix for connect method parameter order
This commit is contained in:
Michael DeHaan 2013-11-03 08:49:00 -08:00
commit 3e930cfcfd

View file

@ -102,7 +102,8 @@ else:
boto_found = True
def connect(ec2_url, ec2_secret_key, ec2_access_key, region, module):
def connect(ec2_url, ec2_access_key, ec2_secret_key, region, module):
""" Return an ec2 connection"""
# allow environment variables to be used if ansible vars aren't set
if not ec2_url and 'EC2_URL' in os.environ: