fix(flatpak): install flatpak if not present
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
7760066325
commit
ca89c810cd
2 changed files with 10 additions and 0 deletions
6
roles/flatpak/tasks/install.yml
Normal file
6
roles/flatpak/tasks/install.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
- name: Install the required packages
|
||||||
|
ansible.builtin.package:
|
||||||
|
name: flatpak
|
||||||
|
state: present
|
||||||
|
become: true
|
|
@ -1,4 +1,8 @@
|
||||||
---
|
---
|
||||||
|
- name: Packages
|
||||||
|
ansible.builtin.include_tasks: install.yml
|
||||||
|
tags: install
|
||||||
|
|
||||||
- name: Enable Flathub
|
- name: Enable Flathub
|
||||||
community.general.flatpak_remote:
|
community.general.flatpak_remote:
|
||||||
name: flathub
|
name: flathub
|
||||||
|
|
Loading…
Reference in a new issue