Skip to content

Commit a0a0520

Browse files
committed
In the future we should see if we can do this without shell
1 parent f011574 commit a0a0520

File tree

1 file changed

+1
-1
lines changed
  • icpc-wf/ansible/roles/judgedaemon/tasks

1 file changed

+1
-1
lines changed

icpc-wf/ansible/roles/judgedaemon/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
dest: /tmp/dj_ansible/
2323

2424
- name: create chroot
25-
shell: "{{ DJ_DIR }}/misc-tools/dj_make_chroot -y -i openjdk-11-jdk-headless -l \"$(ls /tmp/dj_ansible/install-chroot/*.deb 2>/dev/null | tr '\n' ',')\" 2>&1 | tee /tmp/dj_make_chroot.log; grep '^Done building chroot in' /tmp/dj_make_chroot.log"
25+
shell: "set -o pipefail && {{ DJ_DIR }}/misc-tools/dj_make_chroot -y -i openjdk-11-jdk-headless -l \"$(ls /tmp/dj_ansible/install-chroot/*.deb 2>/dev/null | tr '\n' ',')\" 2>&1 | tee /tmp/dj_make_chroot.log; grep '^Done building chroot in' /tmp/dj_make_chroot.log"
2626
environment:
2727
DEBMIRROR: "{{ 'https://packages/ubuntu' if WF_RESTRICTED_NETWORK else '' }}"
2828
args:

0 commit comments

Comments
 (0)