Remove default workstation snaps

This commit is contained in:
Fabio Scotto di Santolo
2026-03-23 22:53:18 +01:00
parent 3aedcb6e0c
commit b3146110c6
2 changed files with 13 additions and 0 deletions

View File

@@ -102,6 +102,16 @@
append: true
when: (ubuntu_docker_packages | default([])) | length > 0
- name: Remove workstation snap packages
tags: [packages]
community.general.snap:
name: "{{ item }}"
state: absent
loop: "{{ workstation_removed_snap_packages | default([]) }}"
loop_control:
label: "{{ item }}"
when: (workstation_removed_snap_packages | default([])) | length > 0
- name: Install workstation snap packages
tags: [packages]
community.general.snap: