diff --git a/ansible/mainnet.yml b/ansible/mainnet.yml index ea2202a..4e179ab 100644 --- a/ansible/mainnet.yml +++ b/ansible/mainnet.yml @@ -15,27 +15,3 @@ roles: - { role: get-geth-web3-urls, tags: [ get-geth-web3-urls ] } - { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] } - -- name: Deploy mainnet linux beacon nodes - become: true - hosts: - - stable-metal-01.he-eu-hel1.nimbus.mainnet - roles: - - { role: get-geth-web3-urls, tags: [ get-geth-web3-urls ] } - tasks: - - include_role: name=infra-role-beacon-node-linux - tags: [ infra-role-beacon-node-linux, beacon-node ] - vars: - beacon_node_repo_branch: '{{ node.branch }}' - beacon_node_build_frequency: '{{ node.build_frequency }}' - beacon_node_discovery_port: '{{ 9000 + port_offset }}' - beacon_node_listening_port: '{{ 9000 + port_offset }}' - beacon_node_metrics_port: '{{ 9200 + port_offset }}' - beacon_node_rpc_port: '{{ 9900 + port_offset }}' - with_items: - - { branch: 'stable', build_frequency: '*-*-* 12:00:00' } - - { branch: 'unstable', build_frequency: '*-*-* 14:00:00' } - - { branch: 'testing', build_frequency: '*-*-* 16:00:00' } - loop_control: - loop_var: node - index_var: port_offset diff --git a/ansible/prater.yml b/ansible/prater.yml index 47ddc3f..41b0bb8 100644 --- a/ansible/prater.yml +++ b/ansible/prater.yml @@ -33,13 +33,37 @@ - role: infra-role-beacon-node tags: [ infra-role-beacon-node, beacon-node ] +- name: Deploy mainnet linux beacon nodes + become: true + hosts: nimbus-prater-metal + roles: + - { role: get-geth-web3-urls, tags: [ get-geth-web3-urls ] } + tasks: + - include_role: name=infra-role-beacon-node-linux + tags: [ beacon-node, infra-role-beacon-node-linux ] + vars: + beacon_node_repo_branch: '{{ node.branch }}' + beacon_node_build_frequency: '{{ node.build_frequency }}' + beacon_node_discovery_port: '{{ 9000 + port_offset }}' + beacon_node_listening_port: '{{ 9000 + port_offset }}' + beacon_node_metrics_port: '{{ 9200 + port_offset }}' + beacon_node_rpc_port: '{{ 9900 + port_offset }}' + beacon_node_dist_validators_start: '{{ item.start }}' + beacon_node_dist_validators_end: '{{ item.end }}' + with_items: + - { branch: 'stable', build_frequency: '*-*-* 12:00:00' } + - { branch: 'unstable', build_frequency: '*-*-* 14:00:00' } + - { branch: 'testing', build_frequency: '*-*-* 16:00:00' } + loop_control: + loop_var: node + index_var: port_offset + - name: Deploy prater Windows beacon nodes become: true - hosts: - - nimbus-prater-windows + hosts: nimbus-prater-windows tasks: - include_role: name=infra-role-beacon-node-windows - tags: [ infra-role-beacon-node-windows, beacon-node ] + tags: [ beacon-node, infra-role-beacon-node-windows ] vars: beacon_node_repo_branch: '{{ node.branch }}' beacon_node_discovery_port: '{{ 9000 + port_offset }}' diff --git a/ansible/requirements.yml b/ansible/requirements.yml index 99b5bf9..338b00b 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -41,7 +41,7 @@ - name: infra-role-beacon-node-linux src: git@github.com:status-im/infra-role-beacon-node-linux.git - version: 1e640b4742222406e080a3574150fbc28767ba80 + version: 28cd9ccdd7c74f46be76249b8256ea2481ccf29d scm: git - name: infra-role-beacon-node-windows @@ -81,7 +81,7 @@ - name: systemd-timer src: git@github.com:status-im/infra-role-systemd-timer.git - version: 5eafd38e4374f56a3439232b72ec077d569e0f5c + version: 96176f6c871effb19ecb7f6a8eb81079d3b9efa1 scm: git - name: swap-file