Feat(judgehost): test legacy with debian11

This commit is contained in:
2025-04-07 00:06:41 +08:00
parent 1a5976caea
commit 9480d38ca4
7 changed files with 50 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
- name: Download domjudge tarball
ansible.builtin.get_url:
url: "{{ domjudge_tarball_url }}"
dest: /opt/
mode: '0644'
owner: root
group: root
register: downloaded_tarball
- name: Extract domjudge tarball
ansible.builtin.unarchive:
src: "{{ downloaded_tarball.dest }}"
dest: "{{ (downloaded_tarball.dest | basename).split('.') | first }}"
remote_src: true