1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-27 06:36:06 +02:00

Merge branch 'fix-clean-cache2' into 'master'

install_arch: Use shell instead of command

See merge request archlinux/infrastructure!461
This commit is contained in:
Kristian Klausen 2021-10-02 12:11:22 +00:00
commit ec1f08cd0e

View File

@ -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: yes | chroot /mnt pacman -Scc # noqa risky-shell-pipe ("Illegal option -o pipefail" in Hetzner's recovery environment (dash?))
register: chroot_pacman_clean_cache
changed_when: "chroot_pacman_clean_cache.rc == 0"