aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/pacman/tasks
diff options
context:
space:
mode:
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: