Install PSRP Python dependencies in WSL

This commit is contained in:
Fabio Scotto di Santolo
2026-04-01 17:30:52 +02:00
parent 623439c089
commit 5413610650
2 changed files with 13 additions and 1 deletions

View File

@@ -20,6 +20,14 @@
register: workstation_wsl_systemd_config
when: workstation_wsl_systemd_enabled | default(false)
- name: Install WSL Python packages for Windows remoting
tags: [packages]
ansible.builtin.pip:
name: "{{ workstation_dev_wsl_python_packages | default([]) }}"
executable: pip3
state: present
when: (workstation_dev_wsl_python_packages | default([])) | length > 0
- name: Note when WSL must be restarted
tags: [packages, services]
ansible.builtin.debug: