--- # tasks file for fedoraSilverblue - name: "Remove and install rpm-ostree software" block: - name: "Upgrade the rpm-ostree image without options, accept all defaults" ansible.posix.rpm_ostree_upgrade: - name: "Install packages" community.general.rpm_ostree_pkg: name: "{{ silverblue_packages }}" state: present apply_live: true rescue: - name: "Log errors" ansible.builtin.lineinfile: dest: "{{ log_path }}" line: >- [ERR] Error while removing, updating or installing software. - name: "Remove, update and install Flathub software" block: - name: "Remove preinstalled Flatpaks" community.general.flatpak: name: "{{ silverblue_rem_flatpaks }}" state: absent - name: "Update existing flatpaks" community.general.flatpak: name: "*" state: latest - name: "Install Flatpaks" community.general.flatpak: name: "{{ silverblue_flatpaks }}" state: present rescue: - name: "Log errors" ansible.builtin.lineinfile: dest: "{{ log_path }}" line: >- [ERR] Error while removing, updating or installing flatpaks.