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
Ethan Paul 2814d42148
Add network infrastructure
Add network group for filtering network hosts
Add network target for auth'ing to network hosts
Update playbooks to filter out network targets
2021-09-07 20:31:18 -04:00

30 lines
698 B
YAML

---
all:
vars:
skylab_state_dir: /var/run/skylab
skylab_ansible_venv: "{{ skylab_state_dir }}/ansible-runtime"
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
children:
network:
hosts:
core:
ansible_host: core.net.enp.one
ansible_port: 4242
skylab_description: Core Router
skylab_targets: [network]
en2:
vars:
skylab_location: DigitalOcean NYC1
hosts:
hubble:
ansible_host: en2a.enp.one
skylab_description: Cloud Web Server
skylab_targets: [cloud]