diff options
author | Fabio Alessandro Locati <me@fale.io> | 2016-12-05 16:24:19 +0000 |
---|---|---|
committer | Ryan Brown <sb@ryansb.com> | 2016-12-05 11:24:19 -0500 |
commit | 1825252033b01870cd528628b9f017c40c45a1ff (patch) | |
tree | 76ff926e8643955975009f0e1f7b4fc7b39c7576 /system/open_iscsi.py | |
parent | 89827618e2fba70c6796839b6a31f64d39a0efed (diff) | |
download | ansible-modules-extras-1825252033b01870cd528628b9f017c40c45a1ff.tar.gz |
Make `main()` calls conditional - system (#3652)
Diffstat (limited to 'system/open_iscsi.py')
-rw-r--r-- | system/open_iscsi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/open_iscsi.py b/system/open_iscsi.py index 77586289..71eeda1a 100644 --- a/system/open_iscsi.py +++ b/system/open_iscsi.py @@ -381,5 +381,5 @@ def main(): # import module snippets from ansible.module_utils.basic import * -main() - +if __name__ == '__main__': + main() |