Browse Source

unsafe reset fix

pull/1943/head
Greg Szabo 7 years ago
parent
commit
a7c9de49c0
1 changed files with 3 additions and 6 deletions
  1. +3
    -6
      ansible/roles/unsafe_reset/tasks/main.yml

+ 3
- 6
ansible/roles/unsafe_reset/tasks/main.yml View File

@ -2,12 +2,9 @@
when: "service == 'ethermint'" when: "service == 'ethermint'"
become_user: ethermint become_user: ethermint
- shell: "export BCHOME=/etc/basecoin ; basecoin unsafe_reset_all"
when: "service == 'basecoin'"
become_user: basecoin
- shell: "export TMHOME=/etc/{{service}} ; tendermint unsafe_reset_all"
- command: "{{service}} node unsafe_reset_all --home=/etc/{{service}}"
become_user: "{{service}}" become_user: "{{service}}"
- file: "path=/etc/{{service}}/data state=absent"
- file: "path=/etc/{{service}}/config/addrbook.json state=absent"

Loading…
Cancel
Save