[ansible-tendermint] rename playbook for clarity

This commit is contained in:
Anton Kaliaev 2017-03-31 21:31:46 +04:00
parent 5e56b2ea0e
commit 4750dbba77
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
2 changed files with 19 additions and 3 deletions

View File

@ -62,8 +62,24 @@ This playbook will install Tendermint and will create all the required
directories. But **it won't start the Tendermint if there are no validators in
genesis file**. See `templates/genesis.json.j2`.
You will need to collect validators public keys manually or using `genesis.yml`
given you have SSH access to all the nodes.
You will need to collect validators public keys manually or using
`collect_public_keys.yml` given you have SSH access to all the nodes and add
them to `templates/genesis.json.j2`:
```
{
"app_hash": "",
"chain_id": "{{tendermint_chain_id}}",
"genesis_time": "{{tendermint_genesis_time}}",
"validators": [
{
"pub_key": [1, "3A4B5F5C34B19E5DBD2DC68E7D6FF7F46859A0657EDCA3274235A7EB127A0706"],
"amount": 10,
"name": "1"
}
]
}
```
## Testing

View File

@ -1,5 +1,5 @@
---
# Gathers validator public keys from all the nodes to help you form genesis file
# Outputs validator public keys from all the nodes to help you form genesis file
- hosts: all
vars: