diff options
author | Tim Bielawa <tbielawa@redhat.com> | 2017-01-11 10:10:27 -0800 |
---|---|---|
committer | Tim Bielawa <tbielawa@redhat.com> | 2017-01-11 10:12:19 -0800 |
commit | 699e895abcdb18ec81c977fb5143eef6794cd807 (patch) | |
tree | eb74a38ce81d754d0939f7671c79eeb817e5c031 /playbooks/common/openshift-cluster/redeploy-certificates.yml | |
parent | c9919242e76c03ea25993d8ee14c2ac64014077c (diff) | |
download | openshift-699e895abcdb18ec81c977fb5143eef6794cd807.tar.gz openshift-699e895abcdb18ec81c977fb5143eef6794cd807.tar.bz2 openshift-699e895abcdb18ec81c977fb5143eef6794cd807.tar.xz openshift-699e895abcdb18ec81c977fb5143eef6794cd807.zip |
Add a fact to select --evacuate or --drain based on your OCP version
Closes #3070
Diffstat (limited to 'playbooks/common/openshift-cluster/redeploy-certificates.yml')
-rw-r--r-- | playbooks/common/openshift-cluster/redeploy-certificates.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/redeploy-certificates.yml b/playbooks/common/openshift-cluster/redeploy-certificates.yml index 5fc81bf3a..6e3e04a6b 100644 --- a/playbooks/common/openshift-cluster/redeploy-certificates.yml +++ b/playbooks/common/openshift-cluster/redeploy-certificates.yml @@ -234,7 +234,7 @@ command: > {{ openshift.common.client_binary }} adm --config={{ hostvars[groups.oo_first_master.0].mktemp.stdout }}/admin.kubeconfig manage-node {{ openshift.node.nodename }} - --drain --force + {{ openshift.common.evacuate_or_drain }} --force delegate_to: "{{ groups.oo_first_master.0 }}" when: openshift_certificates_redeploy_ca | default(false) | bool and was_schedulable | bool |