fix mapping of ports to match service ports

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-11-01 16:07:36 +01:00
parent f7a3f15982
commit 6a4726dbbd
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 8 additions and 8 deletions

View File

@ -12,8 +12,8 @@
vars:
beacon_node_network: 'testnet0'
beacon_node_metrics_port : '{{ 9200 - 1 + item|int }}'
beacon_node_public_tcp_port: '{{ 9000 - 1 + item|int }}'
beacon_node_public_udp_port: '{{ 9000 - 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:
@ -22,8 +22,8 @@
vars:
beacon_node_network: 'testnet1'
beacon_node_metrics_port : '{{ 9300 - 1 + item|int }}'
beacon_node_public_tcp_port: '{{ 9100 - 1 + item|int }}'
beacon_node_public_udp_port: '{{ 9100 - 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 Nimbus cluster
@ -35,8 +35,8 @@
vars:
beacon_node_network: 'testnet0'
beacon_node_metrics_port : '{{ 9200 - 1 + item|int }}'
beacon_node_public_tcp_port: '{{ 9000 - 1 + item|int }}'
beacon_node_public_udp_port: '{{ 9000 - 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:
@ -45,6 +45,6 @@
vars:
beacon_node_network: 'testnet1'
beacon_node_metrics_port : '{{ 9300 - 1 + item|int }}'
beacon_node_public_tcp_port: '{{ 9100 - 1 + item|int }}'
beacon_node_public_udp_port: '{{ 9100 - 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 }}'