diff --git a/awx_collection/plugins/modules/tower_export.py b/awx_collection/plugins/modules/tower_export.py index e7a788559c..bd951d1744 100644 --- a/awx_collection/plugins/modules/tower_export.py +++ b/awx_collection/plugins/modules/tower_export.py @@ -161,5 +161,6 @@ def main(): if log_contents != '': module.fail_json(msg=log_contents) + if __name__ == '__main__': main()