summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorBogdan Dobrelya <bdobreli@redhat.com>2017-08-16 11:04:27 +0200
committerBogdan Dobrelya <bdobreli@redhat.com>2017-08-21 18:12:50 +0200
commitf4b584fcef4fad12be931631e0c95ac677799ee7 (patch)
treed2bb846a778d744d17a5066dbcfa69c16b59b6c5 /roles
parentec07a43c6ac64d220458b688ded7ce3634eeb0d7 (diff)
downloadopenshift-f4b584fcef4fad12be931631e0c95ac677799ee7.tar.gz
openshift-f4b584fcef4fad12be931631e0c95ac677799ee7.tar.bz2
openshift-f4b584fcef4fad12be931631e0c95ac677799ee7.tar.xz
openshift-f4b584fcef4fad12be931631e0c95ac677799ee7.zip
Add docs and defaults for multi-master setup
Additionally, add the lb group to contain lb nodes to the static inventory template. Include the lb group into the OSEv3 group, in order to apply the cluster group vars to it. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Diffstat (limited to 'roles')
-rw-r--r--roles/static_inventory/templates/inventory.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/static_inventory/templates/inventory.j2 b/roles/static_inventory/templates/inventory.j2
index 24dc9d4a8..987c98ec6 100644
--- a/roles/static_inventory/templates/inventory.j2
+++ b/roles/static_inventory/templates/inventory.j2
@@ -39,6 +39,7 @@ dns
[OSEv3:children]
nodes
etcd
+lb
# Set variables common for all OSEv3 hosts
#[OSEv3:vars]
@@ -68,6 +69,9 @@ nodes.{{ stack_name }}
[dns:children]
dns.{{ stack_name }}
+[lb:children]
+lb.{{ stack_name }}
+
# Empty placeholders for all groups of the cluster nodes
[masters.{{ stack_name }}]
[etcd.{{ stack_name }}]
@@ -75,6 +79,7 @@ dns.{{ stack_name }}
[nodes.{{ stack_name }}]
[app.{{ stack_name }}]
[dns.{{ stack_name }}]
+[lb.{{ stack_name }}]
# BEGIN Autogenerated groups
{% for group in groups %}