fluffy: add netplan role to manage network config

https://github.com/status-im/infra-nimbus/issues/186

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-07-04 08:48:45 +02:00
parent d5ad598a3a
commit ae6ee82a18
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
3 changed files with 24 additions and 2 deletions

View File

@ -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 ]

View File

@ -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

View File

@ -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