Fixes #5023 Convert all modules to use new snippet import pattern

This commit is contained in:
James Tanner
2013-12-02 15:11:23 -05:00
parent 93159cb9cd
commit 6000d636b3
141 changed files with 178 additions and 178 deletions

View File

@@ -195,6 +195,6 @@ def main():
module.exit_json(changed=changed, before=before, after=after)
# include magic from lib/ansible/module_common.py
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -428,6 +428,6 @@ def main():
module.exit_json(changed=changed, before=before, after=after)
# include magic from lib/ansible/module_common.py
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -166,6 +166,6 @@ def main():
module.exit_json(msg="success", result=out)
# include magic from lib/ansible/module_common.py
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -269,6 +269,6 @@ def main():
changed = True
module.exit_json(before=before, after=after, changed=changed, cleaned=cleaned)
# include magic from lib/ansible/module_common.py
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -206,6 +206,6 @@ def main():
changed = before != after or local_mods
module.exit_json(changed=changed, before=before, after=after)
# include magic from lib/ansible/module_common.py
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
# import module snippets
from ansible.module_utils.basic import *
main()