Kevin Carter 271ff6a09c Add project directory to overlay inventories
The use of an overlay inventory has now been added to a stand alone
directory which should help deployers understand how this could work
within their environments. Inventory configuration has been updated to
show this working in the various projects that have tests and could
benefit from an overlay inventory.

Change-Id: I1681fce160b43e9127851f06ae05ff5eaabe852f
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2019-01-16 22:25:11 +00:00

64 lines
1.3 KiB
YAML

---
all:
hosts:
# Local host
localhost:
ansible_connection: local
ansible_host: 127.0.0.1
ansible_user: root
kolide-fleet0:
ansible_host: 172.29.236.100
ansible_user: root
kolide-fleet1:
ansible_host: 172.29.236.101
ansible_user: root
kolide-fleet2:
ansible_host: 172.29.236.102
ansible_user: root
osquery_all:
hosts:
localhost: {}
vars:
physical_host: localhost
management_cidr: "172.29.236.0/24"
container_networks:
management_address:
address: "172.29.236.1"
netmask: "255.255.255.0"
bridge: "{{ hostvars[physical_host]['ansible_default_ipv4']['alias'] }}"
all_containers:
vars:
physical_host: localhost
container_tech: nspawn
container_networks:
management_address:
address: "{{ ansible_host }}"
netmask: "255.255.255.0"
bridge: "{{ hostvars[physical_host]['ansible_default_ipv4']['alias'] }}"
children:
kolide-db_all:
children:
kolide-db:
hosts:
kolide-fleet0: {}
kolide-fleet1: {}
kolide-fleet2: {}
fleet_all:
children:
kolide-fleet_all:
children:
kolide-fleet:
hosts:
kolide-fleet0: {}
kolide-fleet1: {}
kolide-fleet2: {}