aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/pacman/tasks
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-25 14:40:44 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-25 14:40:44 +0100
commitb02a8c40c76cb2e61c7a664ec156407101201a24 (patch)
tree0e046b783331db1bbba78bee75dbdac2e67e420a /roles/pacman/tasks
parentlinting (diff)
downloadmaintenance-b02a8c40c76cb2e61c7a664ec156407101201a24.tar.gz
maintenance-b02a8c40c76cb2e61c7a664ec156407101201a24.zip
move tool existence conditionals to role common
Diffstat (limited to 'roles/pacman/tasks')
-rw-r--r--roles/pacman/tasks/main.yml9
1 files changed, 1 insertions, 8 deletions
diff --git a/roles/pacman/tasks/main.yml b/roles/pacman/tasks/main.yml
index acd2d31..1669920 100644
--- a/roles/pacman/tasks/main.yml
+++ b/roles/pacman/tasks/main.yml
@@ -1,11 +1,4 @@
-- name: Check if pacman is installed
- command: pacman --version
- register: pacman_version
- changed_when: false
- failed_when: false
-
-- when: pacman_version.rc == 0
- become: true
+- become: true
block:
- name: Upgrade packages
community.general.pacman: