diff --git a/lib/ansible/plugins/connections/winrm.py b/lib/ansible/plugins/connections/winrm.py index dbdf7cd678..f16da0f6e6 100644 --- a/lib/ansible/plugins/connections/winrm.py +++ b/lib/ansible/plugins/connections/winrm.py @@ -44,7 +44,7 @@ from ansible import constants as C from ansible.errors import AnsibleError, AnsibleConnectionFailure, AnsibleFileNotFound from ansible.plugins.connections import ConnectionBase from ansible.plugins import shell_loader -from ansible.utils import makedirs_safe +from ansible.utils.path import makedirs_safe class Connection(ConnectionBase): '''WinRM connections over HTTP/HTTPS.''' diff --git a/lib/ansible/plugins/lookup/password.py b/lib/ansible/plugins/lookup/password.py index 9506274e5f..47ec786429 100644 --- a/lib/ansible/plugins/lookup/password.py +++ b/lib/ansible/plugins/lookup/password.py @@ -30,7 +30,7 @@ from ansible import constants as C from ansible.errors import AnsibleError from ansible.plugins.lookup import LookupBase from ansible.utils.encrypt import do_encrypt -from ansible.utils import makedirs_safe +from ansible.utils.path import makedirs_safe DEFAULT_LENGTH = 20