aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/flatpak/tasks/main.yml
blob: 37b301e56385ac476e5210a9e2986cc6fba17ac2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
- name: Check if flatpak is installed
  command: flatpak --version
  register: flatpak_version
  changed_when: no
  failed_when: no

- when: flatpak_version.rc == 0
  name: Upgrade packages
  command: flatpak update --noninteractive
  become: yes