Configure flatpak last on desktop plays

This commit is contained in:
Salt 2021-09-23 21:22:35 -05:00
parent 2f788a1a6e
commit 69a8036398

View File

@ -29,13 +29,6 @@
# Ignoring errors here is important because this task fails on package backdates
ignore_errors: yes
when: ansible_pkg_mgr == "apt"
- name: configure flatpak
block:
- name: configure flatpak remotes
flatpak_remote: name="{{ item.name }}" state=present flatpakrepo_url="{{ item.url }}"
with_items: "{{ desktop_flatpak_remotes + desktop_flatpak_remotes_extra }}"
- name: configure installed flatpaks
flatpak: name="{{ desktop_flatpak_packages + desktop_flatpak_packages_extra }}"
- name: configure portage
block:
# Portage is very complex, so we sync an entire known good configuration tree
@ -51,3 +44,10 @@
- name: configure pip3 packages
pip: executable=/usr/bin/pip3 state=latest name="{{ desktop_pip3_packages + desktop_pip3_packages_extra }}"
when: ansible_os_family != "Gentoo"
- name: configure flatpak
block:
- name: configure flatpak remotes
flatpak_remote: name="{{ item.name }}" state=present flatpakrepo_url="{{ item.url }}"
with_items: "{{ desktop_flatpak_remotes + desktop_flatpak_remotes_extra }}"
- name: configure installed flatpaks
flatpak: name="{{ desktop_flatpak_packages + desktop_flatpak_packages_extra }}"