You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
582 B

  1. {
  2. "genesis_time":"{{ansible_date_time.iso8601}}",
  3. "chain_id":"{{testnet_name}}",
  4. "validators":
  5. [
  6. {% if validators == true %}
  7. {% set comma = joiner(",") %}
  8. {% for host in (groups[testnet_name]|default([]))+(groups['tag_Environment_'~testnet_name]|default([])) %}
  9. {{ comma() }}
  10. {
  11. "pub_key": {
  12. "data": "{{hostvars[host]["pubkey"]["data"]}}",
  13. "type": "{{hostvars[host]["pubkey"]["type"]}}"
  14. },
  15. "amount":10,
  16. "name":"{{hostvars[host]["ansible_hostname"]}}"
  17. }
  18. {% endfor %}
  19. {% endif %}
  20. ],
  21. "app_hash":"",
  22. "app_options": {}
  23. }