Skip to content

Commit 025d246

Browse files
committed
Set strategy for judgehost deployment
Ansible has multiple strategies, the free strategy allowes each host to run the tasks on their own speed. This means that already provisioned hosts can already go to the next task while a new machine is still applying a task. Also fix comment as the next group only starts when the last one is done.
1 parent 7d4041a commit 025d246

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

provision-contest/ansible/judgehost.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33

44
- name: setup judgehost
55
hosts: judgehost
6-
# We always leave 1/3 of the judges online
6+
# We always leave 2/3 of the judges online
77
serial:
88
- 33%
99
- 33%
1010
- 34%
11+
strategy: free
1112
vars:
1213
host_type: judgehost
1314
become: true

0 commit comments

Comments
 (0)