Fix(judgehost): works with Debian12 + docker
This commit is contained in:
14
roles/configure_judgehost_legacy/handlers/main.yml
Normal file
14
roles/configure_judgehost_legacy/handlers/main.yml
Normal 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
|
||||
Reference in New Issue
Block a user