mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 23:49:56 +00:00
Remove default workstation snaps
This commit is contained in:
@@ -16,6 +16,9 @@ profile_packages:
|
|||||||
|
|
||||||
workstation_manage_google_chrome: true
|
workstation_manage_google_chrome: true
|
||||||
|
|
||||||
|
workstation_removed_snap_packages:
|
||||||
|
- firefox
|
||||||
|
|
||||||
workstation_snap_packages:
|
workstation_snap_packages:
|
||||||
- name: intellij-idea-ultimate
|
- name: intellij-idea-ultimate
|
||||||
classic: true
|
classic: true
|
||||||
|
|||||||
@@ -102,6 +102,16 @@
|
|||||||
append: true
|
append: true
|
||||||
when: (ubuntu_docker_packages | default([])) | length > 0
|
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
|
- name: Install workstation snap packages
|
||||||
tags: [packages]
|
tags: [packages]
|
||||||
community.general.snap:
|
community.general.snap:
|
||||||
|
|||||||
Reference in New Issue
Block a user