From 773f7aac5b41128448b6e7598d8b62c57aebfb20 Mon Sep 17 00:00:00 2001 From: Greg Szabo Date: Fri, 28 Jul 2017 18:32:29 +0000 Subject: [PATCH] Debugging perftestnets --- ansible/roles/config/tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/roles/config/tasks/main.yml b/ansible/roles/config/tasks/main.yml index 155c7305d..c384cd687 100644 --- a/ansible/roles/config/tasks/main.yml +++ b/ansible/roles/config/tasks/main.yml @@ -2,12 +2,14 @@ - name: gather tendermint public keys when: validators == true and tendermint_genesis_file is not defined - shell: "tendermint show_validator --home /etc/{{service}}/tendermint --log_level error" + command: "tendermint show_validator --home /etc/{{service}}/tendermint --log_level error" become: yes become_user: "{{service}}" register: pubkeys changed_when: false +- debug: var=pubkeys + - name: register tendermint public keys as host facts when: validators == true and tendermint_genesis_file is not defined set_fact: "pubkey='{{pubkeys.stdout}}'"