Add workstation snap packages

This commit is contained in:
Fabio Scotto di Santolo
2026-03-23 22:23:26 +01:00
parent a9ece4108a
commit 18784a3222
2 changed files with 26 additions and 0 deletions

View File

@@ -8,6 +8,20 @@ profile_packages:
- gnome-tweaks
- seahorse
workstation_snap_packages:
- name: intellij-idea-ultimate
classic: true
channel: latest/stable
- name: postman
classic: false
channel: latest/stable
- name: thunderbird
classic: false
channel: latest/stable
- name: code
classic: true
channel: latest/stable
workstation_user_directories:
- path: "{{ user_home }}/.config"
mode: "0755"

View File

@@ -60,3 +60,15 @@
groups: docker
append: true
when: (ubuntu_docker_packages | default([])) | length > 0
- name: Install workstation snap packages
tags: [packages]
community.general.snap:
name: "{{ item.name }}"
classic: "{{ item.classic | default(false) }}"
channel: "{{ item.channel | default(omit) }}"
state: present
loop: "{{ workstation_snap_packages | default([]) }}"
loop_control:
label: "{{ item.name }}"
when: (workstation_snap_packages | default([])) | length > 0