Add flatpak role for Debian
This commit is contained in:
parent
9497da521c
commit
3364d770e1
@ -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
|
||||||
|
6
roles/flatpak/tasks/Debian.yaml
Normal file
6
roles/flatpak/tasks/Debian.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
- name: install apt package
|
||||||
|
become: true
|
||||||
|
apt:
|
||||||
|
name: flatpak
|
||||||
|
state: latest
|
9
roles/flatpak/tasks/main.yaml
Normal file
9
roles/flatpak/tasks/main.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user