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