openstack-ansible-ops/elk_metrics_6x/tests/inventory/test-container-inventory.yml
Kevin Carter 79c3a3cf93
Add trusty support to the project
This change adds Ubuntu 14.04 support to the project.

Change-Id: I20695e19409b63c6e1def4ccf8929c6d52be647e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-08-11 00:00:03 -05:00

61 lines
1.4 KiB
YAML

---
# The hosts group is used to target physical host machines. Enter all physical
# host machines here.
hosts:
children:
physical_hosts:
hosts:
localhost:
ansible_host: 127.0.0.1
ansible_user: root
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:
elastic-logstash:
hosts:
elastic0:
ansible_host: 172.29.236.100
ansible_user: root
elastic1:
ansible_host: 172.29.236.101
ansible_user: root
elastic2:
ansible_host: 172.29.236.102
ansible_user: root
elastic3:
ansible_host: 172.29.236.103
ansible_user: root
kibana:
hosts:
kibana0:
ansible_host: 172.29.236.110
ansible_user: root
apm-server:
hosts:
apm0:
ansible_host: 172.29.236.120
ansible_user: root