Feat(domserver): add haproxy support

This commit is contained in:
2025-04-06 21:29:00 +08:00
parent 7f72c71f10
commit 43ee35f6a3
5 changed files with 94 additions and 0 deletions

View File

@@ -1 +1,10 @@
# Ansible / domjudge
## Usage
1. Fill in the vars in `group_vars`.
2. Fill in `domserver` and `judgehost` machine ips in `hosts` file.
3. Run `ansible-playbook playbooks/domserver`.
4. Run `ansible-playbook playbooks/judgehost`.
5. Put web cert and key to `/etc/haproxy/cert.pem` on domserver.
6. Check if judgehost been registered.