From 520602d7ce6ed12739455d7332f183f3a0b7e417 Mon Sep 17 00:00:00 2001 From: Sergey Mishin Date: Sun, 30 Apr 2023 20:18:43 +0200 Subject: [PATCH] ansible_mitogen: rediscover python on local connection --- ansible_mitogen/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_mitogen/connection.py b/ansible_mitogen/connection.py index 44caf9ac1..af6c2bbde 100644 --- a/ansible_mitogen/connection.py +++ b/ansible_mitogen/connection.py @@ -110,7 +110,7 @@ def _connect_local(spec): return { 'method': 'local', 'kwargs': { - 'python_path': spec.python_path(), + 'python_path': spec.python_path(rediscover_python=True), } }