From 622481e231c7d4575d7f3d491d079c7a07beadf3 Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Thu, 28 Oct 2021 00:25:55 -0400 Subject: [PATCH] Update inventory with initial content Add cluster hosts and initial networking spec Add core host for core router --- inventory.yaml | 80 +++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 73 insertions(+), 7 deletions(-) diff --git a/inventory.yaml b/inventory.yaml index 5311413..b764757 100644 --- a/inventory.yaml +++ b/inventory.yaml @@ -10,18 +10,84 @@ all: en1: vars: skylab_location: Newton MA + # gross hack for now, will be refactored later + _skylab_adguard_nat_rule: 8 + + hosts: + core: + ansible_host: 10.42.101.1 + ansible_port: 4242 + ansible_network_os: edgeos + skylab_description: EN1 Core Router + + iridium: + ansible_host: 10.42.101.200 + skylab_description: Local Monitor Node + skylab_targets: [network] + children: - network: + + cluster: hosts: - core: - ansible_host: core.net.enp.one - ansible_port: 4242 - skylab_description: Core Router - skylab_targets: [network] + pegasus: # jupiter + ansible_host: 10.42.101.100 + skylab_description: Arbiter Node + skylab_targets: [cluster, datastore] + skylab_cluster: + address: 10.42.101.10/24 + interface: bond0 + + saturn: # remus + ansible_host: 10.42.101.110 + skylab_description: Operation Node + skylab_cluster: + address: 10.42.101.110/24 + interface: bond0 + skylab_networking: + hostname: saturn.skylab.enp.one + dns: [10.42.101.1] + gateway: 10.42.101.1/24 + interfaces: + bond0: + type: bond + members: [eno1, eno2] + addresses: + - 10.42.101.11/24 + - 10.42.101.110/24 + dhcp: false + bond0.99: + type: vlan + address: 192.168.42.20/24 + dhcp: false + + orion: # romulus + ansible_host: 10.42.101.120 + skylab_description: Operation Node + skylab_targets: [cluster, datastore] + skylab_cluster: + address: 10.42.101.12/24 + interface: bond0 + skylab_networking: + hostname: orion.skylab.enp.one + dns: [10.42.101.1] + gateway: 10.42.101.1/24 + interfaces: + bond0: + type: bond + members: [eno1, eno2] + addresses: + - 10.42.101.12/24 + - 10.42.101.120/24 + dhcp: false + bond0.99: + type: vlan + address: 192.168.42.30/24 + dhcp: false en2: vars: - skylab_location: DigitalOcean NYC1 + skylab_location: DigitalOcean TOR1 + hosts: hubble: ansible_host: en2a.enp.one