Browse Source

Merge pull request #5063 from mtnbikenc/fix-etcd-scaleup-init

Refactor group initialization for etcd scaleup playbook
Scott Dodson 7 years ago
parent
commit
d25db0f669
1 changed files with 1 additions and 15 deletions
  1. 1 15
      playbooks/byo/openshift-etcd/scaleup.yml

+ 1 - 15
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