yay, change the command modules to shell so that || works properly.
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user