summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-etcd
diff options
context:
space:
mode:
authorjawed <jawed.khelil@amadeus.com>2017-01-05 15:26:55 +0100
committerjawed <jawed.khelil@amadeus.com>2017-06-15 16:53:39 +0200
commitcd269f075b557e19ce5c0da33d1e2494e3bed9b7 (patch)
treed201a8ae7ce640854d46cb1f768dee2ae0aa731d /playbooks/byo/openshift-etcd
parent58960f7599c564c8e72ae8afb8d5a3804a4d7737 (diff)
downloadopenshift-cd269f075b557e19ce5c0da33d1e2494e3bed9b7.tar.gz
openshift-cd269f075b557e19ce5c0da33d1e2494e3bed9b7.tar.bz2
openshift-cd269f075b557e19ce5c0da33d1e2494e3bed9b7.tar.xz
openshift-cd269f075b557e19ce5c0da33d1e2494e3bed9b7.zip
add etcd scaleup playbook
Diffstat (limited to 'playbooks/byo/openshift-etcd')
-rw-r--r--playbooks/byo/openshift-etcd/scaleup.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/playbooks/byo/openshift-etcd/scaleup.yml b/playbooks/byo/openshift-etcd/scaleup.yml
new file mode 100644
index 000000000..f03854c2a
--- /dev/null
+++ b/playbooks/byo/openshift-etcd/scaleup.yml
@@ -0,0 +1,22 @@
+---
+- hosts: localhost
+ connection: local
+ become: no
+ gather_facts: no
+ tasks:
+ - include_vars: ../../byo/openshift-cluster/cluster_hosts.yml
+ - add_host:
+ name: "{{ item }}"
+ groups: l_oo_all_hosts
+ with_items: "{{ g_all_hosts }}"
+
+- hosts: l_oo_all_hosts
+ gather_facts: no
+ tasks:
+ - include_vars: ../../byo/openshift-cluster/cluster_hosts.yml
+
+- include: ../../common/openshift-cluster/evaluate_groups.yml
+- include: ../../common/openshift-etcd/scaleup.yml
+ vars:
+ openshift_cluster_id: "{{ cluster_id | default('default') }}"
+ openshift_deployment_type: "{{ deployment_type }}"