skylab
/
skylab-ansible
Archived
2
0
Fork 0
This repository has been archived on 2023-05-19. You can view files and clone it, but cannot push or open issues or pull requests.
skylab-ansible/inventory.yaml

96 lines
2.5 KiB
YAML
Raw Normal View History

---
all:
vars:
skylab_state_dir: /var/run/skylab
skylab_ansible_venv: "{{ skylab_state_dir }}/ansible-runtime"
2021-09-06 02:54:48 +00:00
skylab_pip_version: 19.3.1
ansible_user: ansible
ansible_ssh_common_args: "-o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes"
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:
cluster:
hosts:
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 TOR1
hosts:
hubble:
ansible_host: en2a.enp.one
skylab_description: Cloud Web Server
2021-09-05 04:52:12 +00:00
skylab_targets: [cloud]