mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Addresses #5023 Fix import comments
This commit is contained in:
@@ -213,6 +213,6 @@ def main():
|
||||
|
||||
module.exit_json(changed=True, user=user)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -301,6 +301,6 @@ def main():
|
||||
|
||||
module.exit_json(changed=changed, db=db)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -363,6 +363,6 @@ def main():
|
||||
else:
|
||||
module.exit_json(msg="Slave already stopped", changed=False)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -461,6 +461,6 @@ def main():
|
||||
changed = False
|
||||
module.exit_json(changed=changed, user=user)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -211,6 +211,6 @@ def main():
|
||||
else:
|
||||
module.fail_json(msg=result, changed=False)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -269,6 +269,6 @@ def main():
|
||||
|
||||
module.exit_json(changed=changed, db=db)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -607,6 +607,6 @@ def main():
|
||||
module.exit_json(changed=changed)
|
||||
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -481,6 +481,6 @@ def main():
|
||||
kw['changed'] = changed
|
||||
module.exit_json(**kw)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -276,6 +276,6 @@ def main():
|
||||
else:
|
||||
module.fail_json(msg='A valid command must be provided')
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -249,7 +249,7 @@ def main():
|
||||
|
||||
module.exit_json(**result)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user