summaryrefslogtreecommitdiffstats
path: root/playbooks/provisioning/openstack/sample-inventory/hosts
blob: 5f73b60f610c1abf63d1d37007c94a474e815f91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#[all:vars]
# For all group_vars, see ./group_vars/all.yml

# Create an OSEv3 group that contains the master, nodes, etcd, and lb groups.
# The lb group lets Ansible configure HAProxy as the load balancing solution.
# Comment lb out if your load balancer is pre-configured.
[cluster_hosts:children]
OSEv3
dns

[OSEv3:children]
masters
nodes
etcd

# Set variables common for all OSEv3 hosts
#[OSEv3:vars]

# For OSEv3 normal group vars, see ./group_vars/OSEv3.yml

# Host Groups

[masters:children]
masters.openshift.example.com

[etcd:children]
etcd.openshift.example.com

[nodes:children]
masters
infra.openshift.example.com
nodes.openshift.example.com

[infra_hosts:children]
infra.openshift.example.com

[dns:children]
dns.openshift.example.com

[masters.openshift.example.com]
[etcd.openshift.example.com]
[infra.openshift.example.com]
[nodes.openshift.example.com]
[dns.openshift.example.com]