Use pip extra args for WSL system packages

This commit is contained in:
Fabio Scotto di Santolo
2026-04-01 17:37:56 +02:00
parent 795b1220fd
commit 2782e97f71

View File

@@ -25,7 +25,7 @@
ansible.builtin.pip:
name: "{{ workstation_dev_wsl_python_packages | default([]) }}"
executable: pip3
break_system_packages: true
extra_args: --break-system-packages
state: present
when: (workstation_dev_wsl_python_packages | default([])) | length > 0