From db3bdfd5f22c2cf4ecd7c6b139fdbb4310b47fe6 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 4 Nov 2024 11:40:27 -0500 Subject: [PATCH] fix ansible executable --- bbot/core/helpers/depsinstaller/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbot/core/helpers/depsinstaller/installer.py b/bbot/core/helpers/depsinstaller/installer.py index 80ded37a6..944de463b 100644 --- a/bbot/core/helpers/depsinstaller/installer.py +++ b/bbot/core/helpers/depsinstaller/installer.py @@ -248,7 +248,7 @@ def tasks(self, module, tasks): return success def ansible_run(self, tasks=None, module=None, args=None, ansible_args=None): - _ansible_args = {"ansible_connection": "local"} + _ansible_args = {"ansible_connection": "local", "ansible_python_interpreter": sys.executable} if ansible_args is not None: _ansible_args.update(ansible_args) module_args = None