summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-cluster/scaleup.yml
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-11-13 12:11:13 -0500
committerJason DeTiberus <jdetiber@redhat.com>2015-11-24 13:21:49 -0500
commit6fa3dc760065e622efca6ce33fcf838177bcadff (patch)
treecbcb730a94f8d333665b978245b0274154f9e41d /playbooks/byo/openshift-cluster/scaleup.yml
parentf464177c264ef87af80ac023e2698a466b723325 (diff)
downloadopenshift-6fa3dc760065e622efca6ce33fcf838177bcadff.tar.gz
openshift-6fa3dc760065e622efca6ce33fcf838177bcadff.tar.bz2
openshift-6fa3dc760065e622efca6ce33fcf838177bcadff.tar.xz
openshift-6fa3dc760065e622efca6ce33fcf838177bcadff.zip
Improve scaleup playbook
- modify evaluate host to set oo_nodes_to_config to a new variable g_new_nodes_group if defined rather than g_nodes_group and also skip adding the master when g_new_nodes_group is set. - Remove byo specific naming from playbooks/common/openshift-cluster/scaleup.yml and created a new playbooks/byo/openshift-cluster/scaleup.yml playbook.
Diffstat (limited to 'playbooks/byo/openshift-cluster/scaleup.yml')
-rw-r--r--playbooks/byo/openshift-cluster/scaleup.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/byo/openshift-cluster/scaleup.yml b/playbooks/byo/openshift-cluster/scaleup.yml
new file mode 100644
index 000000000..70644d427
--- /dev/null
+++ b/playbooks/byo/openshift-cluster/scaleup.yml
@@ -0,0 +1,10 @@
+---
+- include: ../../common/openshift-cluster/scaleup.yml
+ vars:
+ g_etcd_group: "{{ 'etcd' }}"
+ g_masters_group: "{{ 'masters' }}"
+ g_new_nodes_group: "{{ 'new_nodes' }}"
+ g_lb_group: "{{ 'lb' }}"
+ openshift_cluster_id: "{{ cluster_id | default('default') }}"
+ openshift_debug_level: 2
+ openshift_deployment_type: "{{ deployment_type }}"