Skip to content
Snippets Groups Projects

install_arch: Use shell instead of command

Merged Thorben Günther requested to merge xenrox/infrastructure:fix-clean-cache2 into master
@@ -184,7 +184,7 @@
file: src=/run/systemd/resolve/stub-resolv.conf dest=/mnt/etc/resolv.conf state=link force=yes owner=root group=root mode=0644
- name: clean pacman cache
shell: yes | chroot /mnt pacman -Scc
shell: set -o pipefail && yes | chroot /mnt pacman -Scc
register: chroot_pacman_clean_cache
changed_when: "chroot_pacman_clean_cache.rc == 0"
Loading