Browse Source

Merged config dir fixes

pull/1943/head
Greg Szabo 7 years ago
parent
commit
697b71ee8d
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      ansible/roles/getconfigtoml/tasks/main.yml
  2. +1
    -1
      ansible/roles/tomlconfig/defaults/main.yml
  3. +1
    -1
      ansible/roles/unsafe_reset/tasks/main.yml

+ 1
- 1
ansible/roles/getconfigtoml/tasks/main.yml View File

@ -1,6 +1,6 @@
---
- name: Get config.toml from node
fetch: "dest={{ destination | default('.') }}/config.toml flat=yes src=/etc/{{service}}/tendermint/config.toml"
fetch: "dest={{ destination | default('.') }}/config.toml flat=yes src=/etc/{{service}}/config.toml"
run_once: yes

+ 1
- 1
ansible/roles/tomlconfig/defaults/main.yml View File

@ -1,3 +1,3 @@
---
destination: /etc/{{service}}/tendermint/config.toml
destination: /etc/{{service}}/config.toml

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

@ -6,7 +6,7 @@
when: "service == 'basecoin'"
become_user: basecoin
- shell: "export TMHOME=/etc/{{service}}/tendermint ; tendermint unsafe_reset_all"
- shell: "export TMHOME=/etc/{{service}} ; tendermint unsafe_reset_all"
become_user: "{{service}}"
- file: "path=/etc/{{service}}/data state=absent"


Loading…
Cancel
Save