diff options
author | Ryan Brown <sb@ryansb.com> | 2016-12-05 12:58:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-05 12:58:03 -0500 |
commit | 817b5f18eaec723e95a606d4a5465bbd43311437 (patch) | |
tree | dd1212bfe2ff80781994e4d004c82eff331b3637 | |
parent | 60b82f757dade5eefea905f97a4ebdc1d9ef1937 (diff) | |
parent | b2d01ccba4d6b62632bb149c5de2e8eed153c68c (diff) | |
download | ansible-modules-core-817b5f18eaec723e95a606d4a5465bbd43311437.tar.gz |
Merge pull request #5834 from Fale/fix_main_databases
Call main in conditional way - databases
-rw-r--r-- | database/postgresql/postgresql_user.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/database/postgresql/postgresql_user.py b/database/postgresql/postgresql_user.py index 532e8645..1cdc92ef 100644 --- a/database/postgresql/postgresql_user.py +++ b/database/postgresql/postgresql_user.py @@ -682,4 +682,6 @@ def main(): # import module snippets from ansible.module_utils.basic import * from ansible.module_utils.database import * -main() + +if __name__ == '__main__': + main() |