summaryrefslogtreecommitdiffstats
path: root/roles/etcd_migrate/tasks/main.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-08-23 10:58:41 -0400
committerGitHub <noreply@github.com>2017-08-23 10:58:41 -0400
commit2a4f95429df8f6c7c4d3ca35ccca5e27fbf372fc (patch)
tree87d851eb9768398d9e02742a054145ce60a88067 /roles/etcd_migrate/tasks/main.yml
parent099835cfd928e0bccf8c298d197ca06960bf954a (diff)
parent4b5d8d2dc25dbca20be59f3d5d111d737fd865bc (diff)
downloadopenshift-2a4f95429df8f6c7c4d3ca35ccca5e27fbf372fc.tar.gz
openshift-2a4f95429df8f6c7c4d3ca35ccca5e27fbf372fc.tar.bz2
openshift-2a4f95429df8f6c7c4d3ca35ccca5e27fbf372fc.tar.xz
openshift-2a4f95429df8f6c7c4d3ca35ccca5e27fbf372fc.zip
Merge pull request #4980 from sdodson/migrate-v2
Switch to migrating one host and scaling etcd members back up
Diffstat (limited to 'roles/etcd_migrate/tasks/main.yml')
-rw-r--r--roles/etcd_migrate/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/etcd_migrate/tasks/main.yml b/roles/etcd_migrate/tasks/main.yml
index 409b0b613..e82f6a6b4 100644
--- a/roles/etcd_migrate/tasks/main.yml
+++ b/roles/etcd_migrate/tasks/main.yml
@@ -1,8 +1,8 @@
---
- name: Fail if invalid r_etcd_migrate_action provided
fail:
- msg: "etcd_migrate role can only be called with 'check' or 'migrate' or 'configure'"
- when: r_etcd_migrate_action not in ['check', 'migrate', 'configure']
+ msg: "etcd_migrate role can only be called with 'check', 'migrate', 'configure', 'add_ttls', or 'clean_data'"
+ when: r_etcd_migrate_action not in ['check', 'migrate', 'configure', 'add_ttls', 'clean_data']
- name: Include main action task file
include: "{{ r_etcd_migrate_action }}.yml"