Fix(judgehost): install domjudge directory beforehand

This commit is contained in:
2025-04-07 00:19:00 +08:00
parent 2d713a24d4
commit 38646bb3d9

View File

@@ -6,6 +6,14 @@
owner: root
group: root
register: downloaded_tarball
- name: Install domjudge directory
ansible.builtin.file:
path: "{{ domjudge_base_dir | dirname }}"
state: directory
recurse: true
mode: '0700'
owner: root
group: root
- name: Extract domjudge tarball
ansible.builtin.unarchive:
src: "{{ downloaded_tarball.dest }}"