Rework data structures for flatpaks to properly allow for different remotes
This commit is contained in:
parent
69a8036398
commit
aa98612d6c
@ -157,8 +157,12 @@ desktop_flatpak_remotes:
|
|||||||
desktop_flatpak_remotes_extra: []
|
desktop_flatpak_remotes_extra: []
|
||||||
|
|
||||||
desktop_flatpak_packages:
|
desktop_flatpak_packages:
|
||||||
|
- remote: flathub
|
||||||
|
packages:
|
||||||
- com.obsproject.Studio
|
- com.obsproject.Studio
|
||||||
- net.lutris.Lutris
|
|
||||||
- net.minetest.Minetest
|
- net.minetest.Minetest
|
||||||
- org.DolphinEmu.dolphin-emu
|
- org.DolphinEmu.dolphin-emu
|
||||||
|
- remote: flathub-beta
|
||||||
|
packages:
|
||||||
|
- net.lutris.Lutris
|
||||||
desktop_flatpak_packages_extra: []
|
desktop_flatpak_packages_extra: []
|
||||||
|
@ -50,4 +50,5 @@
|
|||||||
flatpak_remote: name="{{ item.name }}" state=present flatpakrepo_url="{{ item.url }}"
|
flatpak_remote: name="{{ item.name }}" state=present flatpakrepo_url="{{ item.url }}"
|
||||||
with_items: "{{ desktop_flatpak_remotes + desktop_flatpak_remotes_extra }}"
|
with_items: "{{ desktop_flatpak_remotes + desktop_flatpak_remotes_extra }}"
|
||||||
- name: configure installed flatpaks
|
- name: configure installed flatpaks
|
||||||
flatpak: name="{{ desktop_flatpak_packages + desktop_flatpak_packages_extra }}"
|
flatpak: name="{{ item.packages }}" state=present remote="{{ item.remote | default('flathub', true) }}"
|
||||||
|
with_items: "{{ desktop_flatpak_packages + desktop_flatpak_packages_extra }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user