Conditional main - monitoring (#3648)

This commit is contained in:
Fabio Alessandro Locati 2016-12-05 16:22:17 +00:00 committed by Matt Clay
parent e788ce068a
commit 9f7ad2ca3b
12 changed files with 30 additions and 14 deletions

View file

@ -128,5 +128,5 @@ def main():
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
from ansible.module_utils.urls import * from ansible.module_utils.urls import *
main() if __name__ == '__main__':
main()

View file

@ -152,4 +152,5 @@ def main():
# import module snippets # import module snippets
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
main() if __name__ == '__main__':
main()

View file

@ -184,4 +184,5 @@ def main():
# import module snippets # import module snippets
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
main() if __name__ == '__main__':
main()

View file

@ -1077,4 +1077,6 @@ class Nagios(object):
###################################################################### ######################################################################
# import module snippets # import module snippets
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()

View file

@ -144,5 +144,5 @@ def main():
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
from ansible.module_utils.urls import * from ansible.module_utils.urls import *
main() if __name__ == '__main__':
main()

View file

@ -307,4 +307,5 @@ def main():
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
from ansible.module_utils.urls import * from ansible.module_utils.urls import *
main() if __name__ == '__main__':
main()

View file

@ -149,4 +149,6 @@ def main():
# import module snippets # import module snippets
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()

View file

@ -393,4 +393,6 @@ def main():
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
from ansible.module_utils.pycompat24 import get_exception from ansible.module_utils.pycompat24 import get_exception
main()
if __name__ == '__main__':
main()

View file

@ -222,4 +222,6 @@ def main():
module.exit_json(changed=False) module.exit_json(changed=False)
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()

View file

@ -574,4 +574,6 @@ def main():
host_name, ip, link_templates)) host_name, ip, link_templates))
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()

View file

@ -237,5 +237,6 @@ def main():
host_macro_class_obj.update_host_macro(host_macro_obj, macro_name, macro_value) host_macro_class_obj.update_host_macro(host_macro_obj, macro_name, macro_value)
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()

View file

@ -382,4 +382,6 @@ def main():
module.exit_json(changed=changed) module.exit_json(changed=changed)
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()