diff options
author | Russell Teague <rteague@redhat.com> | 2017-12-07 12:06:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-07 12:06:32 -0500 |
commit | 54175f4b668cc1e6108b7d0af13275fcda9f586f (patch) | |
tree | 0dfe223febcbf59d1f9ee50b7fed0032e7ace42f /playbooks/openshift-etcd/private/migrate.yml | |
parent | 9ee49e03676be3bc51c0f3ec341b1c4f6c1b0008 (diff) | |
parent | 112e1696cc7d2c8c5b11682b584b45a37e947099 (diff) | |
download | openshift-54175f4b668cc1e6108b7d0af13275fcda9f586f.tar.gz openshift-54175f4b668cc1e6108b7d0af13275fcda9f586f.tar.bz2 openshift-54175f4b668cc1e6108b7d0af13275fcda9f586f.tar.xz openshift-54175f4b668cc1e6108b7d0af13275fcda9f586f.zip |
Merge pull request #6365 from mtnbikenc/consolidate-etcd-upgrade
Playbook Consolidation - etcd Upgrade
Diffstat (limited to 'playbooks/openshift-etcd/private/migrate.yml')
-rw-r--r-- | playbooks/openshift-etcd/private/migrate.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/playbooks/openshift-etcd/private/migrate.yml b/playbooks/openshift-etcd/private/migrate.yml index 4269918c2..834bd242d 100644 --- a/playbooks/openshift-etcd/private/migrate.yml +++ b/playbooks/openshift-etcd/private/migrate.yml @@ -17,7 +17,7 @@ tasks: - include_role: name: etcd - tasks_from: migrate.pre_check + tasks_from: migrate.pre_check.yml vars: r_etcd_common_embedded_etcd: "{{ groups.oo_etcd_to_config | default([]) | length == 0 }}" etcd_peer: "{{ ansible_default_ipv4.address }}" @@ -46,7 +46,7 @@ post_tasks: - include_role: name: etcd - tasks_from: backup + tasks_from: backup.yml vars: r_etcd_common_backup_tag: pre-migration r_etcd_common_embedded_etcd: "{{ groups.oo_etcd_to_config | default([]) | length == 0 }}" @@ -74,7 +74,7 @@ pre_tasks: - include_role: name: etcd - tasks_from: disable_etcd + tasks_from: disable_etcd.yml - name: Migrate data on first etcd hosts: oo_etcd_to_migrate[0] @@ -82,7 +82,7 @@ tasks: - include_role: name: etcd - tasks_from: migrate + tasks_from: migrate.yml vars: r_etcd_common_embedded_etcd: "{{ groups.oo_etcd_to_config | default([]) | length == 0 }}" etcd_peer: "{{ openshift.common.ip }}" @@ -95,7 +95,7 @@ tasks: - include_role: name: etcd - tasks_from: clean_data + tasks_from: clean_data.yml vars: r_etcd_common_embedded_etcd: "{{ groups.oo_etcd_to_config | default([]) | length == 0 }}" etcd_peer: "{{ openshift.common.ip }}" @@ -132,7 +132,7 @@ tasks: - include_role: name: etcd - tasks_from: migrate.add_ttls + tasks_from: migrate.add_ttls.yml vars: etcd_peer: "{{ hostvars[groups.oo_etcd_to_migrate.0].openshift.common.ip }}" etcd_url_scheme: "https" @@ -144,7 +144,7 @@ tasks: - include_role: name: etcd - tasks_from: migrate.configure_master + tasks_from: migrate.configure_master.yml when: etcd_migration_failed | length == 0 - debug: msg: "Skipping master re-configuration since migration failed." |