From c183f06dfb99b596175b8e6617ffb9870af6db80 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 19 Mar 2018 00:47:33 +0545 Subject: [PATCH] issue #152: respect the Ansible-selected interpreter for local connections too. --- ansible_mitogen/connection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible_mitogen/connection.py b/ansible_mitogen/connection.py index 33b5cf4f..23924296 100644 --- a/ansible_mitogen/connection.py +++ b/ansible_mitogen/connection.py @@ -135,6 +135,7 @@ class Connection(ansible.plugins.connection.ConnectionBase): """ return mitogen.service.call(self.parent, ContextService.handle, cast({ 'method': 'local', + 'python_path': self.python_path, })) def _connect_ssh(self):