mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #4789 from mohangk/devel
Fix for connect method parameter order
This commit is contained in:
commit
6e6884d6e0
1 changed files with 2 additions and 1 deletions
|
@ -102,7 +102,8 @@ else:
|
||||||
boto_found = True
|
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"""
|
""" Return an ec2 connection"""
|
||||||
# allow environment variables to be used if ansible vars aren't set
|
# allow environment variables to be used if ansible vars aren't set
|
||||||
if not ec2_url and 'EC2_URL' in os.environ:
|
if not ec2_url and 'EC2_URL' in os.environ:
|
||||||
|
|
Loading…
Reference in a new issue