Medalla nodes (#19)

This commit is contained in:
Ștefan Talpalaru 2020-08-04 12:45:57 +02:00 committed by GitHub
parent 118b780312
commit 917d2d6adf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,52 +14,41 @@
- { role: origin-certs, tags: origin-certs }
#- { role: nimbus-stats, tags: nimbus-stats }
- name: Configure Nimbus cluster
- name: Configure shared testnet3
hosts:
- nimbus-master
- nimbus-slaves[0:4]
- nimbus.test[0:5]
tags: beacon-node
tasks:
- include_role:
name: infra-role-beacon-node
tags: beacon-node
with_sequence: count=1
vars:
beacon_node_network: 'testnet0'
beacon_node_rpc_port: '{{ 10000 - 1 + item|int }}'
beacon_node_metrics_port : '{{ 9200 - 1 + item|int }}'
beacon_node_listening_port: '{{ 9000 - 1 + item|int }}'
beacon_node_discovery_port: '{{ 9000 - 1 + item|int }}'
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network}}-{{ item }}'
- include_role:
name: infra-role-beacon-node
tags: beacon-node
with_sequence: count=1
vars:
beacon_node_network: 'testnet1'
beacon_node_rpc_port: '{{ 11000 - 1 + item|int }}'
beacon_node_metrics_port : '{{ 9300 - 1 + item|int }}'
beacon_node_listening_port: '{{ 9100 - 1 + item|int }}'
beacon_node_discovery_port: '{{ 9100 - 1 + item|int }}'
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network}}-{{ item }}'
- name: Configure shared testnet
hosts:
- nimbus-slaves[5:8]
tags: beacon-node
tasks:
- include_role:
name: infra-role-beacon-node
tags: beacon-node
with_sequence: count=1
vars:
beacon_node_network: 'testnet2'
beacon_node_rpc_port: '{{ 11000 - 1 + item|int }}'
beacon_node_metrics_port : '{{ 9300 - 1 + item|int }}'
beacon_node_listening_port: '{{ 9100 - 1 + item|int }}'
beacon_node_discovery_port: '{{ 9100 - 1 + item|int }}'
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network}}-{{ item }}'
beacon_node_network: 'testnet3'
beacon_node_shared_testnet: 'medalla'
beacon_node_rpc_port: '11000'
beacon_node_metrics_port : '9300'
beacon_node_listening_port: '9100'
beacon_node_discovery_port: '9100'
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network }}'
beacon_node_shared_testnet_cron: true
cont_restart: true
- name: Configure shared testnet2
hosts:
- nimbus.test[6:9]
tags: beacon-node
tasks:
- include_role:
name: infra-role-beacon-node
tags: beacon-node
vars:
beacon_node_network: 'testnet2'
beacon_node_shared_testnet: 'altona'
beacon_node_rpc_port: '11000'
beacon_node_metrics_port : '9300'
beacon_node_listening_port: '9100'
beacon_node_discovery_port: '9100'
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network }}'
beacon_node_shared_testnet_cron: true
cont_restart: true