yay, change the command modules to shell so that || works properly.
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | i3 | Install (yay)
|
- 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 }}"
|
loop: "{{ i3_yay_packages }}"
|
||||||
when: ansible_pkg_mgr == "pacman"
|
when: ansible_pkg_mgr == "pacman"
|
||||||
become_user: "{{ aur_user }}"
|
become_user: "{{ aur_user }}"
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | Packages | Install From AUR
|
- 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:
|
loop:
|
||||||
- appimagelauncher
|
- appimagelauncher
|
||||||
when: ansible_pkg_mgr == "pacman"
|
when: ansible_pkg_mgr == "pacman"
|
||||||
|
|||||||
Reference in New Issue
Block a user