summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-02-03 13:51:27 -0500
committerAndrew Butcher <abutcher@redhat.com>2016-02-16 14:18:01 -0500
commit6d3e1764658582150f6c776c2662075531ccf70f (patch)
treee48c1f87af4bb157b0ce752ac022af6262cb8924 /playbooks/openstack/openshift-cluster
parentcc5c39cac2f9514df96b1922ad1cfc954ae1c0b9 (diff)
downloadopenshift-6d3e1764658582150f6c776c2662075531ccf70f.tar.gz
openshift-6d3e1764658582150f6c776c2662075531ccf70f.tar.bz2
openshift-6d3e1764658582150f6c776c2662075531ccf70f.tar.xz
openshift-6d3e1764658582150f6c776c2662075531ccf70f.zip
Add new_masters to scaleup playbook.
Diffstat (limited to 'playbooks/openstack/openshift-cluster')
-rw-r--r--playbooks/openstack/openshift-cluster/cluster_hosts.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/playbooks/openstack/openshift-cluster/cluster_hosts.yml b/playbooks/openstack/openshift-cluster/cluster_hosts.yml
index ca87bc655..b647828fc 100644
--- a/playbooks/openstack/openshift-cluster/cluster_hosts.yml
+++ b/playbooks/openstack/openshift-cluster/cluster_hosts.yml
@@ -10,8 +10,14 @@ g_nfs_hosts: "{{ g_all_hosts | intersect(groups['tag_host-type_nfs'] | defau
g_master_hosts: "{{ g_all_hosts | intersect(groups['tag_host-type_master'] | default([])) }}"
+g_new_master_hosts: "{{ g_all_hosts | intersect(groups['tag_host-type_new_master'] | default([])) }}"
+
+g_all_master_hosts: "{{ (g_all_hosts | intersect(groups['tag_host-type_master'])) | union((g_all_hosts | intersect(groups['tag_host-type_new_master']))) | default([]) }}"
+
g_node_hosts: "{{ g_all_hosts | intersect(groups['tag_host-type_node'] | default([])) }}"
-g_infra_hosts: "{{ g_node_hosts | intersect(groups['tag_sub-host-type_infra'] | default([])) }}"
+g_new_node_hosts: "{{ g_all_hosts | intersect(groups['tag_host-type_new_node'] | default([])) }}"
+
+g_infra_hosts: "{{ g_node_hosts | intersect(groups['tag_sub-host-type_infra']) | default([]) }}"
g_compute_hosts: "{{ g_node_hosts | intersect(groups['tag_sub-host-type_compute'] | default([])) }}"