From f1b58d6a625359208814ede99c7144fa0b896560 Mon Sep 17 00:00:00 2001 From: NaeiKinDus Date: Mon, 25 Dec 2023 00:00:00 +0000 Subject: [PATCH] fix(workstation): use user-based installation of flatpak apps and repos --- .../nullified/infrastructure/roles/workstation/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collections/ansible_collections/nullified/infrastructure/roles/workstation/tasks/main.yml b/collections/ansible_collections/nullified/infrastructure/roles/workstation/tasks/main.yml index 6ca1694..3a24307 100644 --- a/collections/ansible_collections/nullified/infrastructure/roles/workstation/tasks/main.yml +++ b/collections/ansible_collections/nullified/infrastructure/roles/workstation/tasks/main.yml @@ -87,11 +87,11 @@ block: - name: '[flatpak] add flatpak repos' ansible.builtin.command: - cmd: flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo + cmd: flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo changed_when: false - name: '[flatpak] install flatpak apps' ansible.builtin.command: - cmd: "flatpak install --noninteractive {{ item.repo }} {{ item.app }}" + cmd: "flatpak install --user --noninteractive {{ item.repo }} {{ item.app }}" creates: "/var/lib/flatpak/app/{{ item.app }}" loop: - repo: flathub