mirror of https://github.com/easzlab/kubeasz.git
fix etcd restore failure
parent
f672a96be0
commit
53c52ff0ab
|
@ -46,6 +46,10 @@
|
|||
flat: yes
|
||||
delegate_to: "{{ RUNNING_NODE.stdout }}"
|
||||
|
||||
- name: Rename etcd backup file
|
||||
shell: "cd {{ base_dir }}/.cluster/backup && \
|
||||
cp -fp snapshot_{{ temp }}.db snapshot.db"
|
||||
|
||||
- hosts:
|
||||
- localhost
|
||||
tasks:
|
||||
|
|
Loading…
Reference in New Issue