diff options
Diffstat (limited to 'roles/flatpak')
-rw-r--r-- | roles/flatpak/tasks/main.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/flatpak/tasks/main.yml b/roles/flatpak/tasks/main.yml new file mode 100644 index 0000000..80a84ff --- /dev/null +++ b/roles/flatpak/tasks/main.yml @@ -0,0 +1,10 @@ +- name: Check if flatpak is installed + command: flatpak --version + register: flatpak_version + changed_when: no + ignore_errors: yes + +- when: flatpak_version.rc == 0 + name: Upgrade packages + command: flatpak update --noninteractive + become: yes |