From ae6ee82a18c2805e43c9e449d91a0827fbd21017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 4 Jul 2024 08:48:45 +0200 Subject: [PATCH] fluffy: add netplan role to manage network config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/status-im/infra-nimbus/issues/186 Signed-off-by: Jakub SokoĊ‚owski --- ansible/fluffy.yml | 5 +++-- .../addresses/metal-01.ih-eu-mda1.nimbus.fluffy.yml | 10 ++++++++++ .../addresses/metal-02.ih-eu-mda1.nimbus.fluffy.yml | 11 +++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 ansible/vars/addresses/metal-01.ih-eu-mda1.nimbus.fluffy.yml create mode 100644 ansible/vars/addresses/metal-02.ih-eu-mda1.nimbus.fluffy.yml diff --git a/ansible/fluffy.yml b/ansible/fluffy.yml index fe64a17..2c8bbe3 100644 --- a/ansible/fluffy.yml +++ b/ansible/fluffy.yml @@ -14,8 +14,9 @@ hosts: - nimbus.fluffy roles: - - { role: infra-role-open-ports, tags: open-ports } - - { role: infra-role-smart-metrics, tags: smart-metrics } + - { role: update-netplan, tags: update-netplan } + - { role: infra-role-open-ports, tags: open-ports } + - { role: infra-role-smart-metrics, tags: smart-metrics } tasks: - include_role: name=infra-role-nimbus-fluffy tags: [ beacon-node, infra-role-nimbus-fluffy ] diff --git a/ansible/vars/addresses/metal-01.ih-eu-mda1.nimbus.fluffy.yml b/ansible/vars/addresses/metal-01.ih-eu-mda1.nimbus.fluffy.yml new file mode 100644 index 0000000..df5ebd9 --- /dev/null +++ b/ansible/vars/addresses/metal-01.ih-eu-mda1.nimbus.fluffy.yml @@ -0,0 +1,10 @@ +# This is the network config written by 'subiquity' +network: + ethernets: + eno1: + addresses: + - 194.33.40.238/24 + gateway4: 194.33.40.1 + nameservers: + addresses: [ 194.33.40.10, 8.8.8.8 ] + version: 2 diff --git a/ansible/vars/addresses/metal-02.ih-eu-mda1.nimbus.fluffy.yml b/ansible/vars/addresses/metal-02.ih-eu-mda1.nimbus.fluffy.yml new file mode 100644 index 0000000..6ef527b --- /dev/null +++ b/ansible/vars/addresses/metal-02.ih-eu-mda1.nimbus.fluffy.yml @@ -0,0 +1,11 @@ +# This is the network config written by 'subiquity' +network: + ethernets: + eno1: + addresses: + - 194.33.40.239/24 + gateway4: 194.33.40.1 + nameservers: + addresses: [ 194.33.40.10, 8.8.8.8 ] + version: 2 +