mirror of
https://github.com/tendermint/tendermint.git
synced 2026-06-01 03:46:22 +00:00
[ansible-tendermint] make seeds explicit
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
@@ -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: ""
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user