yay, change the command modules to shell so that || works properly.

This commit is contained in:
2026-08-02 11:50:58 -07:00
parent 8e0cc7fa45
commit 33a645fea0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 }}"