[ansible-tendermint] make seeds explicit

This commit is contained in:
Anton Kaliaev
2017-03-31 21:49:13 +04:00
parent 4750dbba77
commit 5e5968801c
3 changed files with 5 additions and 1 deletions

View File

@@ -40,6 +40,8 @@ tendermint_chain_id: mychain
tendermint_genesis_time: "{{ansible_date_time.iso8601_micro}}"
```
You can also change `templates/config.toml.j2` to suit your needs.
## Handlers
These are the handlers that are defined in `handlers/main.yml`.
@@ -54,6 +56,7 @@ These are the handlers that are defined in `handlers/main.yml`.
- hosts: all
vars:
tendermint_chain_id: MyAwesomeChain
tendermint_seeds: "172.13.0.1:46656,172.13.0.2:46656,172.13.0.3:46656"
roles:
- ansible-tendermint
```

View File

@@ -20,3 +20,4 @@ tendermint_log_file: /var/log/tendermint.log
tendermint_chain_id: mychain
tendermint_genesis_time: "{{ansible_date_time.iso8601_micro}}"
tendermint_seeds: ""

View File

@@ -1,6 +1,6 @@
proxy_app = "{{tendermint_proxy_app}}"
node_laddr = "tcp://0.0.0.0:46656"
seeds = ""
seeds = "{{tendermint_seeds}}"
fast_sync = true
db_backend = "leveldb"
log_level = "notice"