summaryrefslogtreecommitdiffstats
path: root/roles/os_firewall/library/os_firewall_manage_iptables.py
diff options
context:
space:
mode:
Diffstat (limited to 'roles/os_firewall/library/os_firewall_manage_iptables.py')
-rwxr-xr-xroles/os_firewall/library/os_firewall_manage_iptables.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/os_firewall/library/os_firewall_manage_iptables.py b/roles/os_firewall/library/os_firewall_manage_iptables.py
index 90588d2ae..9d0af497d 100755
--- a/roles/os_firewall/library/os_firewall_manage_iptables.py
+++ b/roles/os_firewall/library/os_firewall_manage_iptables.py
@@ -270,4 +270,5 @@ def main():
# import module snippets
from ansible.module_utils.basic import *
-main()
+if __name__ == '__main__':
+ main()