From 5cbb24e13001c9902f0d825dcb1d07b741e05eca Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 23 Apr 2024 14:16:02 -0400 Subject: [PATCH] ansible: add arm64 CI hosts Change-Id: Ibe934b68a1912233283b73e20bae3c7f5a6b1e90 Signed-off-by: Michael Jeanson --- ...ci-host-arm64-1a.internal.efficios.com.yml | 43 +++++++++++++++++++ ...ci-host-arm64-1b.internal.efficios.com.yml | 43 +++++++++++++++++++ automation/ansible/hosts | 2 + 3 files changed, 88 insertions(+) create mode 100644 automation/ansible/host_vars/ci-host-arm64-1a.internal.efficios.com.yml create mode 100644 automation/ansible/host_vars/ci-host-arm64-1b.internal.efficios.com.yml diff --git a/automation/ansible/host_vars/ci-host-arm64-1a.internal.efficios.com.yml b/automation/ansible/host_vars/ci-host-arm64-1a.internal.efficios.com.yml new file mode 100644 index 0000000..3f34eed --- /dev/null +++ b/automation/ansible/host_vars/ci-host-arm64-1a.internal.efficios.com.yml @@ -0,0 +1,43 @@ +--- +lxd_cluster_ip: 172.18.0.186 +lxd_cluster: + enabled: true + server_address: 172.18.0.186 + #cluster_token: # Only used once on cluster join + member_config: + - entity: storage-pool + name: default + key: source + value: tank/lxd +netplan_manage: true +netplan_content: | + network: + version: 2 + renderer: networkd + ethernets: + eth0: + match: + macaddress: 00:01:73:00:00:01 + dhcp4: no + macaddress: 00:01:73:00:01:01 + eth1: + match: + macaddress: 00:01:73:00:00:02 + dhcp4: no + macaddress: 00:01:73:00:01:02 + bridges: + br102: + interfaces: + - eth0 + accept-ra: false + addresses: + - 172.18.0.186/16 + macaddress: 3a:5f:d0:44:d4:12 + 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-host-arm64-1b.internal.efficios.com.yml b/automation/ansible/host_vars/ci-host-arm64-1b.internal.efficios.com.yml new file mode 100644 index 0000000..9a59848 --- /dev/null +++ b/automation/ansible/host_vars/ci-host-arm64-1b.internal.efficios.com.yml @@ -0,0 +1,43 @@ +--- +lxd_cluster_ip: 172.18.0.187 +lxd_cluster: + enabled: true + server_address: 172.18.0.187 + #cluster_token: # Only used once on cluster join + member_config: + - entity: storage-pool + name: default + key: source + value: tank/lxd +netplan_manage: true +netplan_content: | + network: + version: 2 + renderer: networkd + ethernets: + eth0: + match: + macaddress: 00:01:73:00:00:01 + dhcp4: no + macaddress: 00:01:73:00:02:01 + eth1: + match: + macaddress: 00:01:73:00:00:02 + dhcp4: no + macaddress: 00:01:73:00:02:02 + bridges: + br102: + interfaces: + - eth0 + macaddress: 86:2b:17:13:4d:03 + accept-ra: false + addresses: + - 172.18.0.187/16 + routes: + - to: default + via: 172.18.0.1 + nameservers: + search: + - internal.efficios.com + addresses: + - 172.18.0.13 diff --git a/automation/ansible/hosts b/automation/ansible/hosts index 5d40e9e..8d14100 100644 --- a/automation/ansible/hosts +++ b/automation/ansible/hosts @@ -12,6 +12,8 @@ ci-host-amd64-2d.internal.efficios.com # This host is used for tests via lava and is running ephemereal installs only #cloud08.internal.efficios.com ci-host-win11-arm64-01.internal.efficios.com +ci-host-arm64-1a.internal.efficios.com +ci-host-arm64-1b.internal.efficios.com [lxd_cluster_ci] ci-host-amd64-1a.internal.efficios.com -- 2.34.1