Browse Source

[ansible-tendermint] rename playbook for clarity

pull/1943/head
Anton Kaliaev 8 years ago
parent
commit
4750dbba77
No known key found for this signature in database GPG Key ID: 7B6881D965918214
2 changed files with 19 additions and 3 deletions
  1. +18
    -2
      ansible-tendermint/README.md
  2. +1
    -1
      ansible-tendermint/collect_public_keys.yml

+ 18
- 2
ansible-tendermint/README.md 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


ansible-tendermint/genesis.yml → ansible-tendermint/collect_public_keys.yml View File


Loading…
Cancel
Save