1
0
Fork 0
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:
Alex Trevino 2017-02-20 15:19:05 -05:00 committed by Ryan Brown
parent 4632b65086
commit 0d060a185f

View file

@ -1567,5 +1567,6 @@ class Ec2Inventory(object):
return json.dumps(data) return json.dumps(data)
# Run the script if __name__ == '__main__':
Ec2Inventory() # Run the script
Ec2Inventory()