mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Allow ec2.py to be imported (#21637)
This commit is contained in:
@@ -1567,5 +1567,6 @@ class Ec2Inventory(object):
|
||||
return json.dumps(data)
|
||||
|
||||
|
||||
# Run the script
|
||||
Ec2Inventory()
|
||||
if __name__ == '__main__':
|
||||
# Run the script
|
||||
Ec2Inventory()
|
||||
|
||||
Reference in New Issue
Block a user