Commit 56bd9a14 by Mohan Krishnan

Fix for connect method parameter order

parent 57a725fc
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment