From 8c1e1dd1acab08abfcb6d1015b586d1a1e404ac7 Mon Sep 17 00:00:00 2001 From: Alexei Znamensky Date: Sun, 22 Mar 2026 16:37:54 +1300 Subject: [PATCH] build venv manually first --- tests/integration/targets/python_runner/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration/targets/python_runner/tasks/main.yml b/tests/integration/targets/python_runner/tasks/main.yml index 01d7530c29..10d3ca7f0e 100644 --- a/tests/integration/targets/python_runner/tasks/main.yml +++ b/tests/integration/targets/python_runner/tasks/main.yml @@ -2,6 +2,10 @@ # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) # SPDX-License-Identifier: GPL-3.0-or-later +- name: Create virtualenv + ansible.builtin.command: + cmd: "{{ ansible_python_interpreter }} -m venv {{ remote_tmp_dir }}/venv" + - name: Update pip in virtualenv ansible.builtin.pip: name: pip