Browse Source

fixes

pull/1943/head
Greg Szabo 8 years ago
parent
commit
6598719e7f
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      ansible/roles/config/tasks/main.yml

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

@ -2,9 +2,9 @@
- name: gather tendermint public keys
when: (validators == true or validators == 'true') and tendermint_genesis_file is not defined
command: "tendermint show_validator --home /etc/{{service}}/tendermint --log_level error"
become: yes
become_user: "{{service}}"
command: "sudo -Hu {{service}} tendermint show_validator --home /etc/{{service}}/tendermint --log_level error"
# become: yes
# become_user: "{{service}}"
register: pubkeys
changed_when: false


Loading…
Cancel
Save