Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
ec1f08cd
Commit
ec1f08cd
authored
Oct 02, 2021
by
Kristian Klausen
🎉
Browse files
Merge branch 'fix-clean-cache2' into 'master'
install_arch: Use shell instead of command See merge request
!461
parents
9a9113d1
34a72b68
Pipeline
#11545
passed with stage
in 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roles/install_arch/tasks/main.yml
View file @
ec1f08cd
...
...
@@ -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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment