summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-05-25 20:26:43 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-05-25 20:26:43 +0200
commit73d46b706e32a1079e6e6b3969562d6972ee4f14 (patch)
tree6d97caad56eb6e8c1e9de0a30d688b04e36f987f
parentbasic apt-cache-ng role (diff)
ch-sw0,ch-sw1 -> ch-sw2,ch-sw3
-rw-r--r--chaos-at-home/ch-sw2.yml (renamed from chaos-at-home/ch-sw0.yml)2
-rw-r--r--chaos-at-home/ch-sw3.yml (renamed from chaos-at-home/ch-sw1.yml)2
-rw-r--r--inventory/group_vars/chaos-at-home/network.yml2
-rw-r--r--inventory/host_vars/ch-sw2.yml (renamed from inventory/host_vars/ch-sw0.yml)0
-rw-r--r--inventory/host_vars/ch-sw3.yml (renamed from inventory/host_vars/ch-sw1.yml)0
-rw-r--r--inventory/hosts.ini4
6 files changed, 6 insertions, 4 deletions
diff --git a/chaos-at-home/ch-sw0.yml b/chaos-at-home/ch-sw2.yml
index c3d02802..124c2026 100644
--- a/chaos-at-home/ch-sw0.yml
+++ b/chaos-at-home/ch-sw2.yml
@@ -1,6 +1,6 @@
---
- name: bootstrap
- hosts: ch-sw0
+ hosts: ch-sw2
gather_facts: no
roles:
- role: dellos6/bootstrap
diff --git a/chaos-at-home/ch-sw1.yml b/chaos-at-home/ch-sw3.yml
index ed7b0be5..bb98d389 100644
--- a/chaos-at-home/ch-sw1.yml
+++ b/chaos-at-home/ch-sw3.yml
@@ -1,6 +1,6 @@
---
- name: bootstrap
- hosts: ch-sw1
+ hosts: ch-sw3
gather_facts: no
roles:
- role: dellos6/bootstrap
diff --git a/inventory/group_vars/chaos-at-home/network.yml b/inventory/group_vars/chaos-at-home/network.yml
index 8984a5a2..d4a5d2cd 100644
--- a/inventory/group_vars/chaos-at-home/network.yml
+++ b/inventory/group_vars/chaos-at-home/network.yml
@@ -118,6 +118,8 @@ network_zones:
ch-telesto: 102 # IPMI
ch-sw0: 200
ch-sw1: 201
+ ch-sw2: 202
+ ch-sw3: 203
ch-ups-test0: 210
ch-ups-test1: 211
ch-ap0: 220
diff --git a/inventory/host_vars/ch-sw0.yml b/inventory/host_vars/ch-sw2.yml
index f2f6d3df..f2f6d3df 100644
--- a/inventory/host_vars/ch-sw0.yml
+++ b/inventory/host_vars/ch-sw2.yml
diff --git a/inventory/host_vars/ch-sw1.yml b/inventory/host_vars/ch-sw3.yml
index cf77edbf..cf77edbf 100644
--- a/inventory/host_vars/ch-sw1.yml
+++ b/inventory/host_vars/ch-sw3.yml
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index b6cbaa4e..0f68afd1 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -91,8 +91,8 @@ mz-ap ansible_host=chmz-ap
[chaos-at-home-switches:vars]
ansible_port=22
[chaos-at-home-switches]
-ch-sw0 host_name=sw0 ansible_host=192.168.42.200
-ch-sw1 host_name=sw1 ansible_host=192.168.42.201
+ch-sw2 host_name=sw2 ansible_host=192.168.42.202
+ch-sw3 host_name=sw3 ansible_host=192.168.42.203
[chaos-at-home-ap]
ch-ap0 host_name=ap0