Fix for connect method parameter order

pull/4420/head
Mohan Krishnan 2013-11-03 14:48:35 +07:00
parent 57a725fc16
commit 56bd9a14d5
1 changed files with 2 additions and 1 deletions

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: