2019-03-21 12:14:11 +00:00
|
|
|
---
|
2019-03-22 15:50:30 +00:00
|
|
|
- name: Configure Nimbus master
|
|
|
|
hosts: nimbus-master
|
|
|
|
roles:
|
2019-04-17 17:25:11 +00:00
|
|
|
- { role: origin-cert }
|
|
|
|
- { role: nimbus-stats, tags: nimbus-stats }
|
2019-05-09 16:18:46 +00:00
|
|
|
# - { role: infra-role-eth2-testnet-site }
|
|
|
|
tasks:
|
|
|
|
- include_role:
|
|
|
|
name: infra-role-beacon-node
|
|
|
|
with_sequence: count=2
|
|
|
|
vars:
|
|
|
|
beacon_node_network: 'testnet0'
|
2019-05-15 12:02:01 +00:00
|
|
|
beacon_node_public_tcp_port: '{{ 9000 - 1 + item|int }}'
|
|
|
|
beacon_node_public_udp_port: '{{ 9000 - 1 + item|int }}'
|
2019-06-21 14:46:45 +00:00
|
|
|
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network}}-{{ item }}'
|
2019-05-09 16:18:46 +00:00
|
|
|
|
|
|
|
- include_role:
|
|
|
|
name: infra-role-beacon-node
|
|
|
|
with_sequence: count=2
|
|
|
|
vars:
|
|
|
|
beacon_node_network: 'testnet1'
|
2019-05-15 12:02:01 +00:00
|
|
|
beacon_node_public_tcp_port: '{{ 9100 - 1 + item|int }}'
|
|
|
|
beacon_node_public_udp_port: '{{ 9100 - 1 + item|int }}'
|
2019-06-21 14:46:45 +00:00
|
|
|
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network}}-{{ item }}'
|
2019-03-21 12:27:16 +00:00
|
|
|
|
2019-03-21 12:14:11 +00:00
|
|
|
- name: Configure Nimbus cluster
|
2019-03-21 15:31:12 +00:00
|
|
|
hosts: nimbus-slaves
|
2019-05-09 16:18:46 +00:00
|
|
|
tasks:
|
|
|
|
- include_role:
|
|
|
|
name: infra-role-beacon-node
|
|
|
|
with_sequence: count=2
|
|
|
|
vars:
|
|
|
|
beacon_node_network: 'testnet0'
|
2019-05-15 12:02:01 +00:00
|
|
|
beacon_node_public_tcp_port: '{{ 9000 - 1 + item|int }}'
|
|
|
|
beacon_node_public_udp_port: '{{ 9000 - 1 + item|int }}'
|
2019-06-21 14:46:45 +00:00
|
|
|
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network}}-{{ item }}'
|
2019-05-09 16:18:46 +00:00
|
|
|
|
|
|
|
- include_role:
|
|
|
|
name: infra-role-beacon-node
|
|
|
|
with_sequence: count=2
|
|
|
|
vars:
|
|
|
|
beacon_node_network: 'testnet1'
|
2019-05-15 12:02:01 +00:00
|
|
|
beacon_node_public_tcp_port: '{{ 9100 - 1 + item|int }}'
|
|
|
|
beacon_node_public_udp_port: '{{ 9100 - 1 + item|int }}'
|
2019-06-21 14:46:45 +00:00
|
|
|
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network}}-{{ item }}'
|