Skip to content

Commit

Permalink
Less overwrites needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Vasseur committed Oct 23, 2023
1 parent b96977c commit d0856a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 34 deletions.
10 changes: 3 additions & 7 deletions provision-contest/ansible/group_vars/analyst/all.yml.example
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
# Server VLAN IP prefix.
SERVER_IP_PREFIX: 10.3.3

# IP address of the admin machine used as ansible and git server.
MAIN_ADMIN_IP: "{{SERVER_IP_PREFIX}}.223"
SERVER_IP_PREFIX: 172.29.1

# URL and IP of domserver from judgehosts. A hostname 'domserver' with
# DOMSERVER_IP will be added to the judgehost /etc/hosts file.
DOMSERVER: https://domjudge
DOMSERVER_IP: "{{SERVER_IP_PREFIX}}.215"
DOMSERVER_URL: "{{DOMSERVER}}"
DOMSERVER_IP: "{{SERVER_IP_PREFIX}}.240"

# Set this when on the blue network at the World Finals where no
# internet access is available and "packages" must be used as APT repo
# server.
WF_GREEN: false
WF_GREEN: true
14 changes: 1 addition & 13 deletions provision-contest/ansible/group_vars/wf46/all.yml.example
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
# Server VLAN IP prefix.
SERVER_IP_PREFIX: 10.3.3

# IP address of the admin machine used as ansible and git server.
MAIN_ADMIN_IP: "{{SERVER_IP_PREFIX}}.223"

# URL and IP of domserver from judgehosts. A hostname 'domserver' with
# DOMSERVER_IP will be added to the judgehost /etc/hosts file.
DOMSERVER: https://domjudge
DOMSERVER: https://domserver-wf46
DOMSERVER_IP: "{{SERVER_IP_PREFIX}}.215"
DOMSERVER_URL: "{{DOMSERVER}}"

# Set this when on the blue network at the World Finals where no
# internet access is available and "packages" must be used as APT repo
# server.
WF_GREEN: false
16 changes: 2 additions & 14 deletions provision-contest/ansible/group_vars/wf47/all.yml.example
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
# Server VLAN IP prefix.
SERVER_IP_PREFIX: 10.3.3

# IP address of the admin machine used as ansible and git server.
MAIN_ADMIN_IP: "{{SERVER_IP_PREFIX}}.223"

# URL and IP of domserver from judgehosts. A hostname 'domserver' with
# DOMSERVER_IP will be added to the judgehost /etc/hosts file.
DOMSERVER: https://domjudge
DOMSERVER_IP: "{{SERVER_IP_PREFIX}}.215"
DOMSERVER_URL: "{{DOMSERVER}}"

# Set this when on the blue network at the World Finals where no
# internet access is available and "packages" must be used as APT repo
# server.
WF_GREEN: false
DOMSERVER: https://domjudge-wf47
DOMSERVER_IP: "{{SERVER_IP_PREFIX}}.219"

0 comments on commit d0856a0

Please sign in to comment.