From 39185de0db693b00e32b57a2a095cc94d4994375 Mon Sep 17 00:00:00 2001 From: Thomas Wang Date: Fri, 3 May 2024 14:03:30 +1000 Subject: [PATCH] try to fix the python3 could not be found on freeBSD by using ansible_python_interpreter --- test/integration/targets/pip/tasks/pip.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/targets/pip/tasks/pip.yml b/test/integration/targets/pip/tasks/pip.yml index 000ba97f47c..a455eaeacf9 100644 --- a/test/integration/targets/pip/tasks/pip.yml +++ b/test/integration/targets/pip/tasks/pip.yml @@ -628,7 +628,7 @@ chdir: checkout-dir # a relative path requirements: "{{ remote_tmp_dir}}/pipreq.txt" #we dont care about what we are trying to install here virtualenv: venv - virtualenv_command: python3 -m venv + virtualenv_command: "{{ ansible_python_interpreter }} -m venv" register: pip_output # Registering the output of the pip task - assert: