mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Fixes #5023 Convert all modules to use new snippet import pattern
This commit is contained in:
@@ -214,5 +214,5 @@ def main():
|
||||
module.exit_json(changed=True, user=user)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -302,5 +302,5 @@ def main():
|
||||
module.exit_json(changed=changed, db=db)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -364,5 +364,5 @@ def main():
|
||||
module.exit_json(msg="Slave already stopped", changed=False)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -462,5 +462,5 @@ def main():
|
||||
module.exit_json(changed=changed, user=user)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -212,5 +212,5 @@ def main():
|
||||
module.fail_json(msg=result, changed=False)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -270,5 +270,5 @@ def main():
|
||||
module.exit_json(changed=changed, db=db)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -608,5 +608,5 @@ def main():
|
||||
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -482,5 +482,5 @@ def main():
|
||||
module.exit_json(**kw)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -277,5 +277,5 @@ def main():
|
||||
module.fail_json(msg='A valid command must be provided')
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -250,6 +250,6 @@ def main():
|
||||
module.exit_json(**result)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
||||
from ansible.module_utils.basic import *
|
||||
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user