mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Add configurable Windows package backends and taskbar policy
This commit is contained in:
@@ -74,6 +74,7 @@
|
||||
ansible_host: "{{ windows_psrp_host | default(vault_windows_psrp_host | default('')) }}"
|
||||
ansible_user: "{{ windows_psrp_user | default(vault_windows_psrp_user | default('')) }}"
|
||||
ansible_password: "{{ windows_psrp_password | default(vault_windows_psrp_password | default('')) }}"
|
||||
windows_package_backend: "{{ windows_package_backend | default(vault_windows_package_backend | default('winget_psrp')) }}"
|
||||
|
||||
- name: Ensure Windows PSRP connection settings are defined
|
||||
tags: [always]
|
||||
@@ -86,6 +87,15 @@
|
||||
or secrets/vault.local.yml
|
||||
before running the workstation_host_windows play.
|
||||
|
||||
- name: Ensure Windows package backend is supported
|
||||
tags: [always]
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- windows_package_backend in ['winget_psrp', 'winget_wsl_local']
|
||||
fail_msg: >-
|
||||
Unsupported windows_package_backend '{{ windows_package_backend }}'.
|
||||
Supported values are winget_psrp and winget_wsl_local.
|
||||
|
||||
roles:
|
||||
- profile_workstation_host_windows
|
||||
|
||||
|
||||
Reference in New Issue
Block a user