- name: Update packages installed through dnf
dnf:
name: "*"
state: latest
# will always show changed
- name: Update flatpaks
shell:
cmd: flatpak update --noninteractive
become: true