From: Kienan Stewart Date: Wed, 30 Aug 2023 15:53:28 +0000 (-0400) Subject: ansible: Manage network configuration to set static IPs on rootnodes X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5f3ced812db80be591ca0dee736e8eccccc1c5a2;p=lttng-ci.git ansible: Manage network configuration to set static IPs on rootnodes Change-Id: Ie49353e1ebf33951b751cc733d451e45e666c77a --- 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 index 0000000..c9ead2b --- /dev/null +++ b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-1a-01.yml @@ -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 index 0000000..c1a1adf --- /dev/null +++ b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-1b-01.yml @@ -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 index 0000000..8538629 --- /dev/null +++ b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-1c-01.yml @@ -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 index 0000000..2a87207 --- /dev/null +++ b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-1c-02.yml @@ -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 index 0000000..aae813e --- /dev/null +++ b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-1d-01.yml @@ -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 index 0000000..34ff2ad --- /dev/null +++ b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-2a-01.yml @@ -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 index 0000000..704974a --- /dev/null +++ b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-2b-01.yml @@ -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 index 0000000..b5dfb96 --- /dev/null +++ b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-2c-01.yml @@ -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 index 0000000..e88db5d --- /dev/null +++ b/automation/ansible/host_vars/ci-rootnode-deb12-amd64-2d-01.yml @@ -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 index 0000000..5022749 --- /dev/null +++ b/automation/ansible/host_vars/ci-rootnode-deb12-i386-1a-01.yml @@ -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 diff --git a/automation/ansible/node_standalone.yml b/automation/ansible/node_standalone.yml index e97f6c4..50a2477 100644 --- a/automation/ansible/node_standalone.yml +++ b/automation/ansible/node_standalone.yml @@ -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