Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
David Runge
infrastructure
Commits
3a501eed
Verified
Commit
3a501eed
authored
Jul 06, 2021
by
Thorben Günther
Browse files
install_arch: Fix cleanup of pacman cache
noconfirm does not work because the default answer to the first check is `No`.
parent
7b2ba0c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/install_arch/tasks/main.yml
View file @
3a501eed
...
...
@@ -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
command
:
chroot /mnt pacman -Scc
--noconfirm
command
:
yes |
chroot /mnt pacman -Scc
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