Feat(judgehost): add playbook for rebuild chroot
All checks were successful
Ansible Playbook lint / ansible-lint (push) Successful in 16s
All checks were successful
Ansible Playbook lint / ansible-lint (push) Successful in 16s
This commit is contained in:
9
playbooks/judgehost-rebuild-chroot.yml
Normal file
9
playbooks/judgehost-rebuild-chroot.yml
Normal 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
|
||||
@@ -80,7 +80,7 @@
|
||||
- name: Run misc-tools/dj_make_chroot
|
||||
tags: [chroot]
|
||||
ansible.builtin.command: |
|
||||
./misc-tools/dj_make_chroot -y -i kotlin
|
||||
./misc-tools/dj_make_chroot -i kotlin
|
||||
args:
|
||||
chdir: "{{ domjudge_base_dir }}"
|
||||
creates: /chroot/domjudge
|
||||
|
||||
Reference in New Issue
Block a user