Skip to content
Snippets Groups Projects
Commit ed4fec84 authored by Thorben Günther's avatar Thorben Günther Committed by Kristian Klausen
Browse files

install_arch: Use shell instead of command

shell is like command but runs the command through a shell, so that
piping will work.
parent 9a9113d1
No related branches found
No related tags found
No related merge requests found
......@@ -165,7 +165,7 @@
template: src=sshd_config.j2 dest=/mnt/etc/ssh/sshd_config owner=root group=root mode=0644
- name: clean pacman cache
command: 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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment