2020-11-17 12:40:13 +00:00
|
|
|
---
|
2021-05-10 13:29:38 +00:00
|
|
|
- name: Verify Ansible versions
|
2021-04-09 06:18:59 +00:00
|
|
|
hosts: all
|
|
|
|
tags: always
|
2021-05-10 13:29:38 +00:00
|
|
|
become: false
|
|
|
|
run_once: true
|
2021-04-09 06:18:59 +00:00
|
|
|
gather_facts: false
|
2020-11-17 12:40:13 +00:00
|
|
|
tasks:
|
2021-04-09 06:18:59 +00:00
|
|
|
- local_action: command ./versioncheck.py
|
|
|
|
changed_when: false
|
2020-11-17 12:40:13 +00:00
|
|
|
|
2020-11-20 15:16:03 +00:00
|
|
|
- name: Configure build nodes
|
2021-02-09 19:27:13 +00:00
|
|
|
become: true
|
2020-11-20 15:16:03 +00:00
|
|
|
hosts:
|
2021-01-18 18:53:52 +00:00
|
|
|
- testing-large-01.aws-eu-central-1a.nimbus.pyrmont
|
|
|
|
- testing-small-01.aws-eu-central-1a.nimbus.pyrmont
|
2020-11-20 15:16:03 +00:00
|
|
|
roles:
|
2021-06-16 13:41:50 +00:00
|
|
|
- role: swap-file
|
|
|
|
tags: swap-file
|
|
|
|
- role: beacon-node-builds
|
|
|
|
tags: beacon-node-builds
|
2021-06-14 08:15:11 +00:00
|
|
|
|
2020-11-20 14:34:09 +00:00
|
|
|
- name: Configure network pyrmont
|
2021-02-09 19:27:13 +00:00
|
|
|
become: true
|
2021-02-22 14:48:51 +00:00
|
|
|
# To avoid clashing/duplicate validators.
|
|
|
|
any_errors_fatal: true
|
2021-07-15 18:15:58 +00:00
|
|
|
hosts:
|
|
|
|
- nimbus-pyrmont-stable
|
|
|
|
- nimbus-pyrmont-testing
|
|
|
|
- nimbus-pyrmont-unstable
|
|
|
|
- nimbus-pyrmont-libp2p
|
2020-11-17 12:40:13 +00:00
|
|
|
roles:
|
2021-04-19 18:21:42 +00:00
|
|
|
- { role: get-geth-web3-urls, tags: [ get-geth-web3-urls ] }
|
2020-11-17 12:40:13 +00:00
|
|
|
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
|
2021-07-15 18:15:58 +00:00
|
|
|
|
|
|
|
- name: Deploy pyrmont Metal beacon nodes
|
|
|
|
become: true
|
|
|
|
hosts:
|
|
|
|
- nimbus-pyrmont-metal
|
|
|
|
tasks:
|
|
|
|
- include_role: name=infra-role-beacon-node-linux
|
|
|
|
tags: [ beacon-node, infra-role-beacon-node-linux ]
|
|
|
|
vars:
|
|
|
|
beacon_node_dist_validators_enabled: false
|
|
|
|
beacon_node_repo_branch: '{{ node.branch }}'
|
|
|
|
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' }
|
|
|
|
- { branch: 'unstable' }
|
|
|
|
- { branch: 'testing' }
|
|
|
|
loop_control:
|
|
|
|
loop_var: node
|
|
|
|
index_var: port_offset
|