-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is needed because of the replication password, alternative would be to do the same split as for online and not have so many groups in groups but that also makes that we duplicate a lot of settings.
- Loading branch information
Showing
6 changed files
with
53 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
group_vars/onprem/analyst |
37 changes: 37 additions & 0 deletions
37
provision-contest/ansible/group_vars/onprem/analyst/secret.yml.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Server VLAN IP prefix. | ||
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_IP: "{{SERVER_IP_PREFIX}}.240" | ||
|
||
WF_GREEN: true | ||
|
||
# Static IP address configuration. Uses the ansible_host variable as the static | ||
# IP address. Only configured if STATIC_IP_ENABLED is true. | ||
STATIC_IP_ENABLED: false | ||
STATIC_IP_NETMASK: 255.255.252.0 | ||
STATIC_IP_GATEWAY: 172.29.0.1 | ||
STATIC_IP_INTERFACE: enp1s0 | ||
|
||
# Additional entries for the /etc/hosts file. | ||
HOSTS: | ||
cds: 172.29.1.207 | ||
packages: 172.29.1.209 | ||
ntp1: 172.29.1.208 | ||
ntp2: 172.29.1.209 | ||
nisprint: 172.29.1.211 | ||
nismaster: 172.29.1.211 | ||
printsrv: 172.29.1.211 | ||
|
||
GRAFANA_MONITORING: false | ||
|
||
# Password for the MySQL replication user. | ||
# Set this to enable master-master replication between two domservers. | ||
#REPLICATION_PASSWORD: {some-strong-replication-password} | ||
|
||
# Database user password. | ||
DB_PASSWORD: {some-strong-database-password} | ||
|
||
# Credentials for the judgehost. | ||
JUDGEHOST_PASSWORD: {some-strong-judgehost-password} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
group_vars/onprem/wfinal |
3 changes: 3 additions & 0 deletions
3
provision-contest/ansible/group_vars/onprem/wfinal/secret.yml.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Password for the MySQL replication user. | ||
# Set this to enable master-master replication between two domservers. | ||
REPLICATION_PASSWORD: {some-strong-replication-password} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters