--- - name: Packages ansible.builtin.include_tasks: install.yml tags: install - name: Enable Flathub community.general.flatpak_remote: name: flathub state: present flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo become: true tags: flatpak/enable-flathub - name: Install flatpak apps community.general.flatpak: name: "{{ item }}" state: present loop: "{{ flatpak_apps }}" become: true when: flatpak_apps