added remaining package groups and flatpak role

This commit is contained in:
2026-06-20 05:34:41 -05:00
parent f8581af668
commit af197aba57
11 changed files with 166 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
---
- name: Install flatpak
community.general.pacman:
name: flatpak
state: present
- name: Install wanted flatpak packages
community.general.flatpak:
name: "{{ flatpak_apps }}"
state: present
- name: Check MakeMKV flatpak permissions
ansible.builtin.command:
cmd: flatpak info --show-permissions com.makemkv.MakeMKV
register: flatpak_makemkv_permissions
changed_when: false
- name: Grant MakeMKV access to optical drives
ansible.builtin.command:
cmd: flatpak override --device=all com.makemkv.MakeMKV
when: "'--device=all' not in flatpak_makemkv_permissions.stdout"
changed_when: true