summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-08-11 09:54:47 -0400
committerGitHub <noreply@github.com>2017-08-11 09:54:47 -0400
commitd25db0f66934ef08c802090be6f433a7035d3fd5 (patch)
tree002ce401226f6700c7b77ba3b19de4e74aca8fad
parent372d55eaa811c3faaad36ac65150a5bf2e639812 (diff)
parentb55a18c4ed048d465af7ab6b5b9aebcc1fc8a34e (diff)
downloadopenshift-d25db0f66934ef08c802090be6f433a7035d3fd5.tar.gz
openshift-d25db0f66934ef08c802090be6f433a7035d3fd5.tar.bz2
openshift-d25db0f66934ef08c802090be6f433a7035d3fd5.tar.xz
openshift-d25db0f66934ef08c802090be6f433a7035d3fd5.zip
Merge pull request #5063 from mtnbikenc/fix-etcd-scaleup-init
Refactor group initialization for etcd scaleup playbook
-rw-r--r--playbooks/byo/openshift-etcd/scaleup.yml16
1 files changed, 1 insertions, 15 deletions
diff --git a/playbooks/byo/openshift-etcd/scaleup.yml b/playbooks/byo/openshift-etcd/scaleup.yml
index f03854c2a..c35fd9f37 100644
--- a/playbooks/byo/openshift-etcd/scaleup.yml
+++ b/playbooks/byo/openshift-etcd/scaleup.yml
@@ -1,19 +1,5 @@
---
-- 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: ../openshift-cluster/initialize_groups.yml
- include: ../../common/openshift-cluster/evaluate_groups.yml
- include: ../../common/openshift-etcd/scaleup.yml