From 4724f94f5ae374178259b5c8a30c6188c0046ee0 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Sat, 17 Sep 2022 14:54:48 +0200 Subject: [PATCH] Fixed flathub remote addition as user --- ansible/flatpak.configure.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/flatpak.configure.yml b/ansible/flatpak.configure.yml index 0748e75..553656f 100644 --- a/ansible/flatpak.configure.yml +++ b/ansible/flatpak.configure.yml @@ -32,7 +32,7 @@ - configure - configuration block: - - name: Add flathub to the remotes + - name: Add flathub to the list of remotes of this run when: flathub_enabled set_fact: remotes: "{{ remotes + [ { 'name': flathub_name, 'method': flathub_method, 'url': flathub_url } ] }}" @@ -53,8 +53,8 @@ - remotes - user when: item.method == 'user' - become: true community.general.flatpak_remote: name: "{{ item.name }}" flatpakrepo_url: "{{ item.url }}" + method: user loop: "{{ remotes }}"