You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
284 B

---
# Gathers validator public keys from all the nodes to help you form genesis file
- hosts: all
vars:
tendermint_home: /opt/tendermint
tasks:
- shell: cat "{{tendermint_home}}/priv_validator.json" | jq ".pub_key[1]"
register: pk
- debug: var=pk.stdout_lines