1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

sorcery: moved import to top (#6525)

* sorcery: moved import to top

* add changelog frag

* Update changelogs/fragments/6525-sorcery-import.yaml

Co-authored-by: Vlad Glagolev <vaygr@users.noreply.github.com>

---------

Co-authored-by: Vlad Glagolev <vaygr@users.noreply.github.com>
This commit is contained in:
Alexei Znamensky 2023-05-30 04:54:35 +12:00 committed by GitHub
parent 486f6553f5
commit 4c0eff02e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- sorcery - minor refactor (https://github.com/ansible-collections/community.general/pull/6525).

View file

@ -165,6 +165,8 @@ import re
import shutil
import sys
from ansible.module_utils.basic import AnsibleModule
# auto-filled at module init
SORCERY = {
@ -646,8 +648,5 @@ def main():
manage_spells(module)
# import module snippets
from ansible.module_utils.basic import AnsibleModule
if __name__ == '__main__':
main()