ansible: Manage network configuration to set static IPs on rootnodes
authorKienan Stewart <kstewart@efficios.com>
Wed, 30 Aug 2023 15:53:28 +0000 (11:53 -0400)
committerKienan Stewart <kstewart@efficios.com>
Wed, 30 Aug 2023 19:11:29 +0000 (15:11 -0400)
Change-Id: Ie49353e1ebf33951b751cc733d451e45e666c77a

automation/ansible/host_vars/ci-rootnode-deb12-amd64-1a-01.yml [new file with mode: 0644]
automation/ansible/host_vars/ci-rootnode-deb12-amd64-1b-01.yml [new file with mode: 0644]
automation/ansible/host_vars/ci-rootnode-deb12-amd64-1c-01.yml [new file with mode: 0644]
automation/ansible/host_vars/ci-rootnode-deb12-amd64-1c-02.yml [new file with mode: 0644]
automation/ansible/host_vars/ci-rootnode-deb12-amd64-1d-01.yml [new file with mode: 0644]
automation/ansible/host_vars/ci-rootnode-deb12-amd64-2a-01.yml [new file with mode: 0644]
automation/ansible/host_vars/ci-rootnode-deb12-amd64-2b-01.yml [new file with mode: 0644]
automation/ansible/host_vars/ci-rootnode-deb12-amd64-2c-01.yml [new file with mode: 0644]
automation/ansible/host_vars/ci-rootnode-deb12-amd64-2d-01.yml [new file with mode: 0644]
automation/ansible/host_vars/ci-rootnode-deb12-i386-1a-01.yml [new file with mode: 0644]
automation/ansible/node_standalone.yml

diff --git a/automation/ansible/host_vars/ci-rootnode-deb12-amd64-1a-01.yml b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-1a-01.yml
new file mode 100644 (file)
index 0000000..c9ead2b
--- /dev/null
@@ -0,0 +1,19 @@
+---
+netplan_manage: true
+netplan_content: |
+  network:
+    version: 2
+    renderer: networkd
+    ethernets:
+      enp1s0:
+        dhcp4: no
+        addresses:
+          - 172.18.17.1/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/ci-rootnode-deb12-amd64-1b-01.yml b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-1b-01.yml
new file mode 100644 (file)
index 0000000..c1a1adf
--- /dev/null
@@ -0,0 +1,19 @@
+---
+netplan_manage: true
+netplan_content: |
+  network:
+    version: 2
+    renderer: networkd
+    ethernets:
+      enp1s0:
+        dhcp4: no
+        addresses:
+          - 172.18.17.3/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/ci-rootnode-deb12-amd64-1c-01.yml b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-1c-01.yml
new file mode 100644 (file)
index 0000000..8538629
--- /dev/null
@@ -0,0 +1,19 @@
+---
+netplan_manage: true
+netplan_content: |
+  network:
+    version: 2
+    renderer: networkd
+    ethernets:
+      enp1s0:
+        dhcp4: no
+        addresses:
+          - 172.18.17.4/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/ci-rootnode-deb12-amd64-1c-02.yml b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-1c-02.yml
new file mode 100644 (file)
index 0000000..2a87207
--- /dev/null
@@ -0,0 +1,19 @@
+---
+netplan_manage: true
+netplan_content: |
+  network:
+    version: 2
+    renderer: networkd
+    ethernets:
+      enp1s0:
+        dhcp4: no
+        addresses:
+          - 172.18.17.10/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/ci-rootnode-deb12-amd64-1d-01.yml b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-1d-01.yml
new file mode 100644 (file)
index 0000000..aae813e
--- /dev/null
@@ -0,0 +1,19 @@
+---
+netplan_manage: true
+netplan_content: |
+  network:
+    version: 2
+    renderer: networkd
+    ethernets:
+      enp1s0:
+        dhcp4: no
+        addresses:
+          - 172.18.17.5/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/ci-rootnode-deb12-amd64-2a-01.yml b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-2a-01.yml
new file mode 100644 (file)
index 0000000..34ff2ad
--- /dev/null
@@ -0,0 +1,19 @@
+---
+netplan_manage: true
+netplan_content: |
+  network:
+    version: 2
+    renderer: networkd
+    ethernets:
+      enp1s0:
+        dhcp4: no
+        addresses:
+          - 172.18.17.6/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/ci-rootnode-deb12-amd64-2b-01.yml b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-2b-01.yml
new file mode 100644 (file)
index 0000000..704974a
--- /dev/null
@@ -0,0 +1,19 @@
+---
+netplan_manage: true
+netplan_content: |
+  network:
+    version: 2
+    renderer: networkd
+    ethernets:
+      enp1s0:
+        dhcp4: no
+        addresses:
+          - 172.18.17.7/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/ci-rootnode-deb12-amd64-2c-01.yml b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-2c-01.yml
new file mode 100644 (file)
index 0000000..b5dfb96
--- /dev/null
@@ -0,0 +1,19 @@
+---
+netplan_manage: true
+netplan_content: |
+  network:
+    version: 2
+    renderer: networkd
+    ethernets:
+      enp1s0:
+        dhcp4: no
+        addresses:
+          - 172.18.17.8/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/ci-rootnode-deb12-amd64-2d-01.yml b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-2d-01.yml
new file mode 100644 (file)
index 0000000..e88db5d
--- /dev/null
@@ -0,0 +1,19 @@
+---
+netplan_manage: true
+netplan_content: |
+  network:
+    version: 2
+    renderer: networkd
+    ethernets:
+      enp1s0:
+        dhcp4: no
+        addresses:
+          - 172.18.17.9/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/ci-rootnode-deb12-i386-1a-01.yml b/automation/ansible/host_vars/ci-rootnode-deb12-i386-1a-01.yml
new file mode 100644 (file)
index 0000000..5022749
--- /dev/null
@@ -0,0 +1,19 @@
+---
+netplan_manage: true
+netplan_content: |
+  network:
+    version: 2
+    renderer: networkd
+    ethernets:
+      enp1s0:
+        dhcp4: no
+        addresses:
+          - 172.18.17.2/16
+        routes:
+          - to: default
+            via: 172.18.0.1
+        nameservers:
+          search:
+            - internal.efficios.com.
+          addresses:
+            - 172.18.0.13
index e97f6c4ff38a6d36e11e6c75f8f2b37514d34096..50a24773270f3d6f1398ccb016065db87425d8d5 100644 (file)
@@ -10,3 +10,7 @@
     - lttng-modules
     - lttng-analyses
     - libs-i386
+    # Standalone (root) nodes should use fixed IP addresses
+    # DHCP can be flaky during destructive tests which change
+    # the date of the system.
+    - netplan
This page took 0.027011 seconds and 4 git commands to generate.