Add flatpak role for Debian

This commit is contained in:
Kenneth Benzie 2023-08-01 19:46:24 +01:00
parent 9497da521c
commit 3364d770e1
3 changed files with 18 additions and 0 deletions

View File

@ -1,6 +1,9 @@
--- ---
- hosts: localhost - hosts: localhost
roles: roles:
- role: flatpak
when: ansible_os_family != "Darwin"
- role: 1password - role: 1password
- role: ferdium - role: ferdium
- role: fonts - role: fonts

View File

@ -0,0 +1,6 @@
---
- name: install apt package
become: true
apt:
name: flatpak
state: latest

View File

@ -0,0 +1,9 @@
---
- include_tasks: '{{ansible_os_family}}.yaml'
- name: add flathub repository remote
become: true
flatpak_remote:
name: flathub
state: present
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo