Add profile for Fedora WSL

This commit is contained in:
Fabio Scotto di Santolo
2026-08-27 18:11:41 +02:00
parent 304479a3f9
commit 31bc8d07de
7 changed files with 86 additions and 19 deletions

View File

@@ -112,6 +112,11 @@
if 'workstation_dev_fedora' in group_names
else []
)
+ (
(workstation_dev_wsl_packages | default([]))
if 'workstation_dev_wsl' in group_names
else []
)
+ (
(workstation_host_linux_packages_fedora | default(workstation_host_linux_packages | default([])))
if 'workstation_host_linux' in group_names
@@ -127,10 +132,29 @@
)
+ (host_packages | default([]))
)
| difference(fedora_excluded_packages | default([]))
| unique
}}
state: present
- name: Remove excluded Fedora packages
tags: [packages]
ansible.builtin.dnf:
name: >-
{{
(fedora_removed_packages | default([]))
| select('in', ansible_facts.packages | default({}))
| list
}}
state: absent
when: >-
(
(fedora_removed_packages | default([]))
| select('in', ansible_facts.packages | default({}))
| list
| length
) > 0
- name: Add user to docker group
tags: [packages]
ansible.builtin.user: