p2p ids in config.toml

This commit is contained in:
Greg Szabo 2018-03-02 23:14:42 -05:00
parent 7d414cb7b2
commit 2429cfb2b7
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ laddr = "tcp://0.0.0.0:46656"
# Comma separated list of seed nodes to connect to
{% if validators == true or validators == 'true' %}
{% set comma = joiner(",") %}seeds = "{% for host in ((groups[testnet_name]|default([]))+(groups['tag_Environment_'~(testnet_name|regex_replace('-','_'))]|default([])))|difference(inventory_hostname) %}{{ comma() }}{{hostvars[host]["inventory_hostname"]}}:46656{% endfor %}"
{% set comma = joiner(",") %}seeds = "{% for host in ((groups[testnet_name]|default([]))+(groups['tag_Environment_'~(testnet_name|regex_replace('-','_'))]|default([])))|difference(inventory_hostname) %}{{ comma() }}{{hostvars[host]["nodeid"]}}@{{hostvars[host]["inventory_hostname"]}}:46656{% endfor %}"
{% else %}
seeds = "{{ seeds | default() }}"
{% endif %}