mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Allow ec2.py to be imported (#21637)
This commit is contained in:
parent
4632b65086
commit
0d060a185f
1 changed files with 3 additions and 2 deletions
|
@ -1567,5 +1567,6 @@ class Ec2Inventory(object):
|
|||
return json.dumps(data)
|
||||
|
||||
|
||||
# Run the script
|
||||
Ec2Inventory()
|
||||
if __name__ == '__main__':
|
||||
# Run the script
|
||||
Ec2Inventory()
|
||||
|
|
Loading…
Reference in a new issue