Add networkd configuration to server role

Update inventory with necessary networking settings
This commit is contained in:
2021-11-06 00:33:41 -04:00
parent ce799cceaa
commit 487e41c058
5 changed files with 185 additions and 7 deletions

View File

@@ -42,28 +42,50 @@ en1:
skylab_cluster:
address: 10.42.101.10/24
interface: bond0
skylab_networking:
hostname: pegasus.skylab.enp.one
dns: [10.42.101.1]
gateway: 10.42.101.1/24
interfaces:
eno1:
bond: bond0
eno2:
bond: bond0
bond0:
type: bond
addresses:
- 10.42.101.100/24
- 192.168.255.255/32
dhcp: false
bond0.99:
type: vlan
addresses: [192.168.42.10/24]
dhcp: false
saturn: # remus
ansible_host: 10.42.101.110
skylab_description: Operational Node
skylab_cluster:
address: 10.42.101.110/24
address: 10.42.101.11/24
interface: bond0
skylab_networking:
hostname: saturn.skylab.enp.one
dns: [10.42.101.1]
gateway: 10.42.101.1/24
interfaces:
eno1:
bond: bond0
eno2:
bond: bond0
bond0:
type: bond
members: [eno1, eno2]
addresses:
- 10.42.101.11/24
- 10.42.101.110/24
- 192.168.255.255/32
dhcp: false
bond0.99:
type: vlan
address: 192.168.42.20/24
addresses: [192.168.42.20/24]
dhcp: false
orion: # romulus
@@ -77,16 +99,19 @@ en1:
dns: [10.42.101.1]
gateway: 10.42.101.1/24
interfaces:
eno1:
bond: bond0
eno2:
bond: bond0
bond0:
type: bond
members: [eno1, eno2]
addresses:
- 10.42.101.12/24
- 10.42.101.120/24
- 192.168.255.255/32
dhcp: false
bond0.99:
type: vlan
address: 192.168.42.30/24
addresses: [192.168.42.30/24]
dhcp: false
en2: