mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
cleanup import for htpassword module
In order to ease future refactoring, we should avoid importing '*' from ansible.module_utils.basic.
This commit is contained in:
committed by
Matt Clay
parent
2c078dcb97
commit
e6b3c0d88a
@@ -257,7 +257,8 @@ def main():
|
||||
|
||||
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.pycompat24 import get_exception
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user