diff --git a/playbooks/roles/uu_generic/molecule/default/molecule.yml b/playbooks/roles/uu_generic/molecule/default/molecule.yml index dff4029d..b51dee67 100644 --- a/playbooks/roles/uu_generic/molecule/default/molecule.yml +++ b/playbooks/roles/uu_generic/molecule/default/molecule.yml @@ -10,8 +10,8 @@ provisioner: ANSIBLE_ROLES_PATH: ../../../ role_name_check: 1 platforms: - - name: workspace-src-ubuntu_focal-desktop - image: ghcr.io/utrechtuniversity/src-test-workspace:ubuntu_focal-desktop + - name: workspace-src-ubuntu_jammy-desktop + image: ghcr.io/utrechtuniversity/src-test-workspace:ubuntu_jammy-desktop pre_build_image: true command: /sbin/init privileged: true # needed for snapd diff --git a/playbooks/roles/uu_generic/tasks/apps.yml b/playbooks/roles/uu_generic/tasks/apps.yml index c71b111d..d7813415 100644 --- a/playbooks/roles/uu_generic/tasks/apps.yml +++ b/playbooks/roles/uu_generic/tasks/apps.yml @@ -2,14 +2,11 @@ - name: Install desktop apps when: fact_desktop_workspace block: - - name: Refresh snaps - ansible.builtin.command: snap refresh - tags: molecule-idempotence-notest - - - name: Install VSCodium - ansible.builtin.command: snap install codium --classic - register: uu_generic_install_codium - changed_when: '"already installed" not in uu_generic_install_codium.stderr' + - name: Install codium + community.general.snap: + classic: true + state: present + name: codium - name: Install run_and_pause script ansible.builtin.template: