mirror of
https://github.com/morten-olsen/configs.git
synced 2026-02-08 00:46:24 +01:00
Add arch support
This commit is contained in:
27
playbooks/roles/base_system/tasks/flatpak.yml
Normal file
27
playbooks/roles/base_system/tasks/flatpak.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
- name: Install dependencies
|
||||
tags:
|
||||
- install
|
||||
become: "{{ use_become }}"
|
||||
ansible.builtin.package:
|
||||
name: flatpak
|
||||
|
||||
- name: Add the flathub flatpak repository remote to the user installation
|
||||
become: "{{ use_become }}"
|
||||
become_user: "{{ username }}"
|
||||
tags:
|
||||
- config
|
||||
community.general.flatpak_remote:
|
||||
name: flathub
|
||||
state: present
|
||||
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
method: user
|
||||
|
||||
- name: Add the flathub flatpak repository remote
|
||||
tags:
|
||||
- config
|
||||
become: "{{ use_become }}"
|
||||
community.general.flatpak_remote:
|
||||
name: flathub
|
||||
state: present
|
||||
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
Reference in New Issue
Block a user