diff options
author | Fabio Alessandro Locati <me@fale.io> | 2016-12-05 16:22:17 +0000 |
---|---|---|
committer | Ryan Brown <sb@ryansb.com> | 2016-12-05 11:22:17 -0500 |
commit | eee420c9fc74e60759dc97adf96c4209240d49b4 (patch) | |
tree | 6a39952c82fbb8e1d74350474c69b5f3f9327013 /monitoring/zabbix_hostmacro.py | |
parent | 255d894bb08950c2ed212d31d30101f629ba2829 (diff) | |
download | ansible-modules-extras-eee420c9fc74e60759dc97adf96c4209240d49b4.tar.gz |
Conditional main - monitoring (#3648)
Diffstat (limited to 'monitoring/zabbix_hostmacro.py')
-rw-r--r-- | monitoring/zabbix_hostmacro.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/monitoring/zabbix_hostmacro.py b/monitoring/zabbix_hostmacro.py index c02f9b6e..446f658b 100644 --- a/monitoring/zabbix_hostmacro.py +++ b/monitoring/zabbix_hostmacro.py @@ -239,5 +239,6 @@ def main(): host_macro_class_obj.update_host_macro(host_macro_obj, macro_name, macro_value) from ansible.module_utils.basic import * -main() +if __name__ == '__main__': + main() |