fix broken flatpak

This commit is contained in:
Matthew Stobbs
2025-02-25 09:48:07 -07:00
parent a4398fa72e
commit 4ae443fe26
7 changed files with 40 additions and 16 deletions

View File

@@ -23,14 +23,22 @@
when:
- pkg_flatpak|length > 0
become: "{{ ext_become }}"
loop: "{{ pkg_flatpak | unique }}"
loop_control:
loop_var: flatpak
community.general.flatpak:
method: "{{ flatpak_method }}"
name: "{{ flatpak.name }}"
remote: "{{ flatpak.remote | default('flathub') }}"
state: present
block:
- name: Debug flatpak
loop: "{{ pkg_flatpak | unique }}"
loop_control:
loop_var: flatpak
ansible.builtin.debug:
var: flatpak
- name: Install flatpak
loop: "{{ pkg_flatpak | unique }}"
loop_control:
loop_var: flatpak
community.general.flatpak:
method: "{{ flatpak_method }}"
name: "{{ flatpak.name }}"
remote: "{{ flatpak.remote | default('flathub') }}"
state: present
- name: Install pkg_appimage
when: