ansible: Add test cluster
authorKienan Stewart <kstewart@efficios.com>
Wed, 7 Aug 2024 21:06:42 +0000 (17:06 -0400)
committerKienan Stewart <kstewart@efficios.com>
Thu, 8 Aug 2024 18:21:54 +0000 (14:21 -0400)
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Change-Id: I9afd73e9cbadbc5698e0562835a1f6406edf45bb

automation/ansible/host_vars/cloud01.internal.efficios.com.yml [new file with mode: 0644]
automation/ansible/host_vars/cloud02.internal.efficios.com.yml [new file with mode: 0644]
automation/ansible/host_vars/cloud03.internal.efficios.com.yml [new file with mode: 0644]
automation/ansible/hosts

diff --git a/automation/ansible/host_vars/cloud01.internal.efficios.com.yml b/automation/ansible/host_vars/cloud01.internal.efficios.com.yml
new file mode 100644 (file)
index 0000000..1b82cec
--- /dev/null
@@ -0,0 +1,33 @@
+---
+lxd_cluster_ip: 172.18.0.31
+lxd_cluster:
+  server_name: cloud01
+  enabled: true
+  member_config:
+    - entity: storage-pool
+      name: default
+      key: source
+      value: tank/lxd
+netplan_manage: true
+netplan_content: |
+  network:
+    version: 2
+    renderer: networkd
+    ethernets:
+      enp8s0f0:
+        dhcp4: no
+    bridges:
+      br102:
+        interfaces:
+          - enp8s0f0
+        accept-ra: false
+        addresses:
+          - 172.18.0.31/16
+        routes:
+          - to: default
+            via: 172.18.0.1
+        nameservers:
+          search:
+            - internal.efficios.com
+          addresses:
+            - 172.18.0.13
diff --git a/automation/ansible/host_vars/cloud02.internal.efficios.com.yml b/automation/ansible/host_vars/cloud02.internal.efficios.com.yml
new file mode 100644 (file)
index 0000000..fbd259a
--- /dev/null
@@ -0,0 +1,34 @@
+---
+lxd_cluster_ip: 172.18.0.32
+lxd_cluster:
+  server_name: cloud02
+  server_address: 172.18.0.32
+  enabled: true
+  member_config:
+    - entity: storage-pool
+      name: default
+      key: source
+      value: tank/lxd
+netplan_manage: true
+netplan_content: |
+  network:
+    version: 2
+    renderer: networkd
+    ethernets:
+      enp8s0f0:
+        dhcp4: no
+    bridges:
+      br102:
+        interfaces:
+          - enp8s0f0
+        accept-ra: false
+        addresses:
+          - 172.18.0.32/16
+        routes:
+          - to: default
+            via: 172.18.0.1
+        nameservers:
+          search:
+            - internal.efficios.com
+          addresses:
+            - 172.18.0.13
diff --git a/automation/ansible/host_vars/cloud03.internal.efficios.com.yml b/automation/ansible/host_vars/cloud03.internal.efficios.com.yml
new file mode 100644 (file)
index 0000000..90698c4
--- /dev/null
@@ -0,0 +1,35 @@
+---
+lxd_cluster_ip: 172.18.0.33
+lxd_cluster:
+  server_name: cloud03
+  server_address: 172.18.0.33
+  cluster_token: 'eyJzZXJ2ZXJfbmFtZSI6ImNsb3VkMDMiLCJmaW5nZXJwcmludCI6IjdlZTc4NmU1YTk5YjAyOGNhZWM2M2ZmMWM3ZDExNzBjMjFkYTk2NGM2ODZjNjJkNTI4NGMzYTZkYjFkMDFjYjgiLCJhZGRyZXNzZXMiOlsiMTcyLjE4LjAuMzE6ODQ0MyJdLCJzZWNyZXQiOiI3NDI5NWE0OTc4NmIyNjZlYjczMmU4OTg5ODIyYzZiY2EyODFjMmY2YWVhOWEzZGM5OTA4ODc4MGMzZDU5MGEzIiwiZXhwaXJlc19hdCI6IjIwMjQtMDgtMDhUMTE6NDE6MDIuMjI2NTM2MTgtMDQ6MDAifQ=='
+  enabled: true
+  member_config:
+    - entity: storage-pool
+      name: default
+      key: source
+      value: tank/lxd
+netplan_manage: true
+netplan_content: |
+  network:
+    version: 2
+    renderer: networkd
+    ethernets:
+      enp8s0f0:
+        dhcp4: no
+    bridges:
+      br102:
+        interfaces:
+          - enp8s0f0
+        accept-ra: false
+        addresses:
+          - 172.18.0.33/16
+        routes:
+          - to: default
+            via: 172.18.0.1
+        nameservers:
+          search:
+            - internal.efficios.com
+          addresses:
+            - 172.18.0.13
index 345e21c2617e31f7e780a68309f2b07325915bed..fc61f436543663190ba3f21a56bf1849e35ceb93 100644 (file)
@@ -16,6 +16,10 @@ ci-host-arm64-1a.internal.efficios.com
 ci-host-arm64-1b.internal.efficios.com
 ci-host-arm64-2a.internal.efficios.com
 ci-host-arm64-2b.internal.efficios.com
+# Test cluster
+cloud01.internal.efficios.com
+cloud02.internal.efficios.com
+cloud03.internal.efficios.com
 
 [lxd_cluster_ci]
 ci-host-amd64-1a.internal.efficios.com
@@ -27,6 +31,11 @@ ci-host-amd64-2b.internal.efficios.com
 ci-host-amd64-2c.internal.efficios.com
 ci-host-amd64-2d.internal.efficios.com
 
+[lxd_cluster_ci_dev]
+cloud01.internal.efficios.com
+cloud02.internal.efficios.com
+cloud03.internal.efficios.com
+
 [windows]
 ci-host-win11-arm64-01.internal.efficios.com
 
This page took 0.026237 seconds and 4 git commands to generate.