From b02a8c40c76cb2e61c7a664ec156407101201a24 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 25 Jan 2023 14:40:44 +0100 Subject: move tool existence conditionals to role common --- roles/flatpak/tasks/main.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'roles/flatpak/tasks/main.yml') 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 -- cgit v1.2.3