skylab
/
skylab-ansible
Archived
2
0
Fork 0

Update inventory with initial content

Add cluster hosts and initial networking spec
Add core host for core router
This commit is contained in:
Ethan Paul 2021-10-28 00:25:55 -04:00
parent 0bbc4ec1cd
commit 622481e231
No known key found for this signature in database
GPG Key ID: 6A337337DF6B5B1A
1 changed files with 73 additions and 7 deletions

View File

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