---
|
|
# 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
|