mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Addresses #5023 Fix import comments
This commit is contained in:
@@ -128,6 +128,6 @@ def main():
|
||||
|
||||
module.exit_json(changed=True, room=room, msg=msg, notify=notify)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -194,7 +194,7 @@ def main():
|
||||
|
||||
module.exit_json(changed=False, msg=module.params["msg"])
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
|
||||
@@ -83,6 +83,6 @@ def main():
|
||||
# Mission complete
|
||||
module.exit_json(msg="OK")
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -139,6 +139,6 @@ def main():
|
||||
module.exit_json(changed=changed, room=room, msg_from=msg_from,
|
||||
msg=msg)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -154,6 +154,6 @@ def main():
|
||||
module.exit_json(changed=False, channel=channel, nick=nick,
|
||||
msg=msg)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -141,6 +141,6 @@ def main():
|
||||
|
||||
module.exit_json(changed=False, to=to, user=user, msg=msg.getBody())
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -247,6 +247,6 @@ def main():
|
||||
|
||||
module.exit_json(changed=False)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -175,6 +175,6 @@ def main():
|
||||
|
||||
module.exit_json(changed=False, topic=topic)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
|
||||
@@ -71,6 +71,6 @@ def main():
|
||||
|
||||
module.exit_json(msg=msg, changed=False)
|
||||
|
||||
# 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