dotfiles/roles/flatpak/tasks/main.yml
Matej Focko ca89c810cd
fix(flatpak): install flatpak if not present
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-15 19:42:30 +02:00

20 lines
460 B
YAML

---
- 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