Ethan Paul
2814d42148
Add network group for filtering network hosts Add network target for auth'ing to network hosts Update playbooks to filter out network targets
30 lines
698 B
YAML
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]
|