mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Fixed flathub remote addition as user
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
- configure
|
- configure
|
||||||
- configuration
|
- configuration
|
||||||
block:
|
block:
|
||||||
- name: Add flathub to the remotes
|
- name: Add flathub to the list of remotes of this run
|
||||||
when: flathub_enabled
|
when: flathub_enabled
|
||||||
set_fact:
|
set_fact:
|
||||||
remotes: "{{ remotes + [ { 'name': flathub_name, 'method': flathub_method, 'url': flathub_url } ] }}"
|
remotes: "{{ remotes + [ { 'name': flathub_name, 'method': flathub_method, 'url': flathub_url } ] }}"
|
||||||
@@ -53,8 +53,8 @@
|
|||||||
- remotes
|
- remotes
|
||||||
- user
|
- user
|
||||||
when: item.method == 'user'
|
when: item.method == 'user'
|
||||||
become: true
|
|
||||||
community.general.flatpak_remote:
|
community.general.flatpak_remote:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
flatpakrepo_url: "{{ item.url }}"
|
flatpakrepo_url: "{{ item.url }}"
|
||||||
|
method: user
|
||||||
loop: "{{ remotes }}"
|
loop: "{{ remotes }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user