Add pwsh scoop package and run install.ps1 script

This commit is contained in:
Kenneth Benzie 2024-10-16 22:47:00 +01:00
parent 1ecad1214b
commit d9ce158a2f

View File

@ -38,3 +38,14 @@
name: posh-git
state: latest
accept_license: true
- name: install pwsh for powershell lsp
win_scoop:
name: pwsh
state: present
- name: run install script
win_command:
cmd: 'powershell.exe {{powershell_config_dir}}/install.ps1'
register: powershell_install
changed_when: "'changed' in powershell_install.stdout"