From 9ff34afafe63c59edcf1a6f991b4682e0d164c5a Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 10 Sep 2018 02:28:29 +0100 Subject: [PATCH] ansible: fix regression. --- ansible_mitogen/mixins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_mitogen/mixins.py b/ansible_mitogen/mixins.py index 2ebffb84..faadbc15 100644 --- a/ansible_mitogen/mixins.py +++ b/ansible_mitogen/mixins.py @@ -279,7 +279,7 @@ class ActionModuleMixin(ansible.plugins.action.ActionBase): # ~/.ansible -> /home/dmw/.ansible return os.path.join(self._connection.homedir, path[2:]) # ~root/.ansible -> /root/.ansible - return self._connection.get_chain(login=(not sudoable)).call( + return self._connection.get_chain(use_login=(not sudoable)).call( os.path.expanduser, mitogen.utils.cast(path), )