From 33a645fea02b00b3f75c0845b2b9257eb80f0821 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 2 Aug 2026 11:50:58 -0700 Subject: [PATCH] yay, change the command modules to shell so that || works properly. --- tasks/workstation/linux/software/i3.yml | 2 +- tasks/workstation/linux/software/packages.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/workstation/linux/software/i3.yml b/tasks/workstation/linux/software/i3.yml index 0a2623b..0e16266 100644 --- a/tasks/workstation/linux/software/i3.yml +++ b/tasks/workstation/linux/software/i3.yml @@ -60,7 +60,7 @@ update_cache: yes - name: Workstation | Linux | Software | i3 | Install (yay) - command: "yay -Qs {{ item }} || yay --noconfirm -S {{ item }}" + shell: "yay -Qs {{ item }} || yay --noconfirm -S {{ item }}" loop: "{{ i3_yay_packages }}" when: ansible_pkg_mgr == "pacman" become_user: "{{ aur_user }}" diff --git a/tasks/workstation/linux/software/packages.yml b/tasks/workstation/linux/software/packages.yml index af570d8..36d8b02 100644 --- a/tasks/workstation/linux/software/packages.yml +++ b/tasks/workstation/linux/software/packages.yml @@ -44,7 +44,7 @@ state: present - name: Workstation | Linux | Software | Packages | Install From AUR - command: "yay -Qs {{ item }} || yay --noconfirm -S {{ item }}" + shell: "yay -Qs {{ item }} || yay --noconfirm -S {{ item }}" loop: - appimagelauncher when: ansible_pkg_mgr == "pacman"