File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 33- name : setup judgehost
44 hosts : judgehost
55 become : yes
6+ vars :
7+ KOTLINDEB : ' icpc-kotlinc_1.1.4-3~icpc1_all.deb'
68 handlers :
79 - name : update-grub
810 command : update-grub
5557 - php-xml
5658 - php-zip
5759 - php-mbstring
60+ - pypy
5861 - bsdmainutils
5962 - libcgroup-dev
6063 - libcurl4-gnutls-dev
6568 - debootstrap
6669
6770 - name : copy ICPC kotlin deb package
68- copy : src=files/icpc-kotlinc_1.1.4-3~icpc_all.deb dest=/root/
71+ copy : src=files/{{KOTLINDEB}} dest=/root/
6972 register : copy_debs
7073
7174 - name : install ICPC kotlin deb package
72- apt : deb=/root/icpc-kotlinc_1.1.4-3~icpc_all.deb
75+ apt : deb=/root/{{KOTLINDEB}}
7376 when : copy_debs.changed
7477
7578 - name : configure git as domjudge user
126129 notify : update-ca-certificates
127130
128131 - name : create chroot
129- shell : " {{DJDIR}}/misc-tools/dj_make_chroot -i openjdk-8-jdk -l /root/icpc-kotlinc_*.deb "
132+ shell : " {{DJDIR}}/misc-tools/dj_make_chroot -y - i openjdk-8-jdk-headless,pypy -l /root/{{KOTLINDEB}} "
130133 args :
131134 creates : " /chroot/domjudge"
132135
You can’t perform that action at this time.
0 commit comments