mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Move ansible util import to the bottom of the module
This commit is contained in:
@@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from ansible.module_utils.basic import *
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Ansible module to manage elasticsearch plugins
|
Ansible module to manage elasticsearch plugins
|
||||||
(c) 2015, Mathew Davies <thepixeldeveloper@googlemail.com>
|
(c) 2015, Mathew Davies <thepixeldeveloper@googlemail.com>
|
||||||
@@ -158,5 +156,6 @@ def main():
|
|||||||
|
|
||||||
module.exit_json(changed=True, cmd=cmd, name=name, state=state, url=url, timeout=timeout, stdout=out, stderr=err)
|
module.exit_json(changed=True, cmd=cmd, name=name, state=state, url=url, timeout=timeout, stdout=out, stderr=err)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
from ansible.module_utils.basic import *
|
||||||
main()
|
|
||||||
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user