diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-11-14 15:16:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-14 15:16:11 -0500 |
commit | ae34dc20b9e797d6b73576b30b73931beca693ec (patch) | |
tree | d8e3f3d52ae078fbecd19df3cacb4d1bab65986f /playbooks/byo/openshift-cluster/upgrades | |
parent | 8e872d99d99c6451ecd28f56931926f30fa1b613 (diff) | |
parent | 371c36eae16644bda921550371da713e63e44fac (diff) | |
download | openshift-ae34dc20b9e797d6b73576b30b73931beca693ec.tar.gz openshift-ae34dc20b9e797d6b73576b30b73931beca693ec.tar.bz2 openshift-ae34dc20b9e797d6b73576b30b73931beca693ec.tar.xz openshift-ae34dc20b9e797d6b73576b30b73931beca693ec.zip |
Merge pull request #2562 from sdodson/etcd3
etcd upgrade playbooks
Diffstat (limited to 'playbooks/byo/openshift-cluster/upgrades')
-rw-r--r-- | playbooks/byo/openshift-cluster/upgrades/upgrade_etcd.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/playbooks/byo/openshift-cluster/upgrades/upgrade_etcd.yml b/playbooks/byo/openshift-cluster/upgrades/upgrade_etcd.yml new file mode 100644 index 000000000..c25f96212 --- /dev/null +++ b/playbooks/byo/openshift-cluster/upgrades/upgrade_etcd.yml @@ -0,0 +1,26 @@ +--- +- include: ../../../common/openshift-cluster/verify_ansible_version.yml + +- name: Create initial host groups for localhost + hosts: localhost + connection: local + become: no + gather_facts: no + tags: + - always + tasks: + - include_vars: ../cluster_hosts.yml + - add_host: + name: "{{ item }}" + groups: l_oo_all_hosts + with_items: "{{ g_all_hosts | default([]) }}" + +- name: Create initial host groups for all hosts + hosts: l_oo_all_hosts + gather_facts: no + tags: + - always + tasks: + - include_vars: ../cluster_hosts.yml + +- include: ../../../common/openshift-cluster/upgrades/etcd/main.yml |