summaryrefslogtreecommitdiffstats
path: root/playbooks/byo
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-08-11 08:56:56 -0400
committerRussell Teague <rteague@redhat.com>2017-08-11 08:56:56 -0400
commitb55a18c4ed048d465af7ab6b5b9aebcc1fc8a34e (patch)
treecdbe6f2f2d942f92c0faf236c48d1acbd44b61db /playbooks/byo
parenteb51502b4d9794622b8dd5eeef60fc5a9f61c9e3 (diff)
downloadopenshift-b55a18c4ed048d465af7ab6b5b9aebcc1fc8a34e.tar.gz
openshift-b55a18c4ed048d465af7ab6b5b9aebcc1fc8a34e.tar.bz2
openshift-b55a18c4ed048d465af7ab6b5b9aebcc1fc8a34e.tar.xz
openshift-b55a18c4ed048d465af7ab6b5b9aebcc1fc8a34e.zip
Refactor group initialization
Diffstat (limited to 'playbooks/byo')
-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