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
This commit is contained in:
2021-09-07 20:31:18 -04:00
parent d05c0cffaa
commit 2814d42148
4 changed files with 19 additions and 7 deletions

View File

@@ -7,6 +7,18 @@ all:
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