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