diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-25 14:40:44 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-25 14:40:44 +0100 |
commit | b02a8c40c76cb2e61c7a664ec156407101201a24 (patch) | |
tree | 0e046b783331db1bbba78bee75dbdac2e67e420a /roles/flatpak | |
parent | linting (diff) | |
download | maintenance-b02a8c40c76cb2e61c7a664ec156407101201a24.tar.gz maintenance-b02a8c40c76cb2e61c7a664ec156407101201a24.zip |
move tool existence conditionals to role common
Diffstat (limited to '')
-rw-r--r-- | roles/flatpak/tasks/main.yml | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/roles/flatpak/tasks/main.yml b/roles/flatpak/tasks/main.yml index 3fb28c3..fc3f7ba 100644 --- a/roles/flatpak/tasks/main.yml +++ b/roles/flatpak/tasks/main.yml @@ -1,10 +1,3 @@ -- name: Check if flatpak is installed - command: flatpak --version - register: flatpak_version - changed_when: false - failed_when: false - -- when: flatpak_version.rc == 0 - name: Upgrade packages +- name: Upgrade packages command: flatpak update --noninteractive become: true |