Feat(judgehost): add playbook for rebuild chroot
All checks were successful
Ansible Playbook lint / ansible-lint (push) Successful in 16s

This commit is contained in:
2025-04-10 03:13:17 +08:00
parent 935ae15ef3
commit 46b2e1d4b1
2 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
- name: Rebuild chroot environment for judgehosts
hosts: judgehost
tasks:
- name: Run misc-tools/dj_make_chroot
ansible.builtin.command: |
./misc-tools/dj_make_chroot -y -i kotlin
args:
chdir: "{{ domjudge_base_dir }}"
creates: /chroot/domjudge