|
@ -3,4 +3,5 @@ |
|
|
command: "{{ bin_dir }}/etcdctl --endpoints={{ etcd_access_addresses }} rm -r /registry" |
|
|
command: "{{ bin_dir }}/etcdctl --endpoints={{ etcd_access_addresses }} rm -r /registry" |
|
|
environment: |
|
|
environment: |
|
|
ETCDCTL_API: 2 |
|
|
ETCDCTL_API: 2 |
|
|
|
|
|
delegate_to: "{{groups['etcd'][0]}}" |
|
|
when: kube_apiserver_storage_backend == "etcd3" and needs_etcd_migration|bool|default(false) |
|
|
when: kube_apiserver_storage_backend == "etcd3" and needs_etcd_migration|bool|default(false) |