mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Install PSRP Python dependencies in WSL
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
enabled_services:
|
||||
- docker
|
||||
|
||||
workstation_dev_wsl_packages: []
|
||||
workstation_dev_wsl_packages:
|
||||
- python3-pip
|
||||
workstation_dev_wsl_excluded_packages:
|
||||
- pcscd
|
||||
- pinentry-gnome3
|
||||
@@ -14,4 +15,7 @@ workstation_is_wsl: true
|
||||
workstation_manage_google_chrome: false
|
||||
workstation_removed_snap_packages: []
|
||||
workstation_snap_packages: []
|
||||
workstation_dev_wsl_python_packages:
|
||||
- pypsrp
|
||||
- pyspnego
|
||||
workstation_wsl_systemd_enabled: true
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user