Browse Source

[ansible-tendermint] make seeds explicit

pull/1943/head
Anton Kaliaev 8 years ago
parent
commit
5e5968801c
No known key found for this signature in database GPG Key ID: 7B6881D965918214
3 changed files with 5 additions and 1 deletions
  1. +3
    -0
      ansible-tendermint/README.md
  2. +1
    -0
      ansible-tendermint/defaults/main.yml
  3. +1
    -1
      ansible-tendermint/templates/config.toml.j2

+ 3
- 0
ansible-tendermint/README.md 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
```


+ 1
- 0
ansible-tendermint/defaults/main.yml 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: ""

+ 1
- 1
ansible-tendermint/templates/config.toml.j2 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"


Loading…
Cancel
Save