fix etcd restore failure

dev2
aohan.yang 2021-01-25 15:37:12 +08:00 committed by jmgao
parent f672a96be0
commit 53c52ff0ab
1 changed files with 4 additions and 0 deletions

View File

@ -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: