Update inventory with initial content
Add cluster hosts and initial networking spec Add core host for core router
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user