Commit c183f06d authored by David Wilson's avatar David Wilson

issue #152: respect the Ansible-selected interpreter for local connections too.

parent 89b0faae
...@@ -135,6 +135,7 @@ class Connection(ansible.plugins.connection.ConnectionBase): ...@@ -135,6 +135,7 @@ class Connection(ansible.plugins.connection.ConnectionBase):
""" """
return mitogen.service.call(self.parent, ContextService.handle, cast({ return mitogen.service.call(self.parent, ContextService.handle, cast({
'method': 'local', 'method': 'local',
'python_path': self.python_path,
})) }))
def _connect_ssh(self): def _connect_ssh(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment