Fix(judgehost): works with Debian12 + docker

This commit is contained in:
2025-04-07 20:32:38 +08:00
parent 320037ecdf
commit 83a95fe49c
12 changed files with 231 additions and 31 deletions

View File

@@ -0,0 +1,14 @@
---
- name: Update grub
ansible.builtin.command: |
update-grub
changed_when: true
- name: Reboot
ansible.builtin.reboot:
- name: Systemd daemon-reload
ansible.builtin.systemd_service:
daemon_reload: true
- name: Restart judgehost
ansible.builtin.systemd_service:
name: domjudge-judgehost.target
state: restarted