From a104cdf6c7be223eef1a0c79dd3c990b8d66c382 Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Tue, 24 Sep 2024 07:40:07 +0000 Subject: [PATCH] Make WR IP configurable in Ansible --- infra/README.md | 3 ++- infra/station/README.md | 2 +- infra/station/consul/consul.hcl.j2 | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/infra/README.md b/infra/README.md index 9c5e560ff..0f7c4f75e 100644 --- a/infra/README.md +++ b/infra/README.md @@ -8,7 +8,8 @@ To rollout a new station, you will need: 1. an LCU, 2. a physical environment to configure its IPMI, -3. IP addresses of the LCU and IPMI. +3. IP addresses of the LCU and IPMI, +4. IP addresses of the White Rabbit switch and PCONs. ### Preparation diff --git a/infra/station/README.md b/infra/station/README.md index 763727cea..e311f8664 100644 --- a/infra/station/README.md +++ b/infra/station/README.md @@ -93,7 +93,7 @@ all: dns_servers: - 10.149.64.20 - 10.149.64.21 - + white_rabbit: "<White Rabbit IP address>" ``` Run diff --git a/infra/station/consul/consul.hcl.j2 b/infra/station/consul/consul.hcl.j2 index 7fa0d9831..20f6b37e4 100644 --- a/infra/station/consul/consul.hcl.j2 +++ b/infra/station/consul/consul.hcl.j2 @@ -50,7 +50,7 @@ telemetry { services { name = "white-rabbit-snmp" id = "white-rabbit-snmp" - address = "10.151.68.20" + address = "{{ white_rabbit }}" port = 161 tags = ["snmp-scrape"] meta = { -- GitLab