Skip to content

Commit

Permalink
Set DOMserver IPs
Browse files Browse the repository at this point in the history
See Pat's list, I'm not sure about the analyst instance if that is the
host `green` or the host `analyst-green`, went with the `analyst-green`.

Onsite we should discuss which machine will be dualhomed or which
firewall can be changed so we can manage the analyst instance.
  • Loading branch information
vmcj committed Sep 10, 2024
1 parent 7535acf commit 1aa130e
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions provision-contest/ansible/hosts
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
[all:vars]
ansible_user=root
ansible_python_interpreter=/usr/bin/python3

# When moving clients for ad-hoc actions:
# move them to their own group to keep hosts files on deployed machines in sync.

[onprem:children]
domserver
judgehost
grafana
admin

[online:children]
online-domserver
online-judgehost

[domserver]
# Set EFI_ORDER onsite for faster boot
#EFI_ORDER='0\,1\,3\,4'
domjudge-primary ansible_host=10.3.3.216 KEEPALIVED_PRIORITY=100
domjudge-backup ansible_host=10.3.3.217 KEEPALIVED_PRIORITY=99
# Discuss if we can have this host dualhomed in blue to make management easier.\
# Looking at the IP sheet that would mean that our emergency laptop needs to move.
domjudge-analyst ansible_host=172.29.1.240

[domserver:children]
emergency

[emergency]
domjudge-laptop ansible_host=10.3.3.241

[judgehost]
domjudge-judgehost1 ansible_host=10.2.2.192
domjudge-judgehost2 ansible_host=10.2.2.193
domjudge-judgehost3 ansible_host=10.2.2.194
domjudge-judgehost4 ansible_host=10.2.2.195
domjudge-judgehost5 ansible_host=10.2.2.196
domjudge-judgehost6 ansible_host=10.2.2.197
domjudge-judgehost7 ansible_host=10.2.2.198
domjudge-judgehost8 ansible_host=10.2.2.199
domjudge-judgehost9 ansible_host=10.2.2.200
domjudge-judgehost10 ansible_host=10.2.2.201
domjudge-judgehost11 ansible_host=10.2.2.202
domjudge-judgehost12 ansible_host=10.2.2.203
domjudge-judgehost13 ansible_host=10.2.2.204
domjudge-judgehost14 ansible_host=10.2.2.205
domjudge-judgehost15 ansible_host=10.2.2.206
domjudge-judgehost16 ansible_host=10.2.2.207
domjudge-judgehost17 ansible_host=10.2.2.208
domjudge-judgehost18 ansible_host=10.2.2.209

[admin]
domjudge-ccsadmin1 ansible_host=10.3.3.223
domjudge-ccsadmin2 ansible_host=10.3.3.224
domjudge-ccsadmin3 ansible_host=10.3.3.225
domjudge-ccsadmin4 ansible_host=10.3.3.226
domjudge-ccsadmin5 ansible_host=10.3.3.227

[grafana]
# During the WFs we use one of the ccsadmin machines
# Doesn't matter which (admin) machine but should not be 1 as that runs ansible
domjudge-ccsadmin2 ansible_host=10.3.3.225

[online-domserver]
online-domserver ansible_host=192.168.255.255

[online-judgehost]
online-judgehost1 ansible_host=192.168.255.255

0 comments on commit 1aa130e

Please sign in to comment.