2020-11-17 12:40:13 +00:00
|
|
|
---
|
2021-04-09 06:18:59 +00:00
|
|
|
- name: 'Verify Ansible versions'
|
|
|
|
hosts: all
|
|
|
|
run_once: true
|
|
|
|
connection: local
|
|
|
|
tags: always
|
|
|
|
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:
|
|
|
|
- { role: beacon-node-builds, tags: beacon-node-builds }
|
|
|
|
|
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
|
2020-11-20 14:34:09 +00:00
|
|
|
hosts:
|
2021-01-18 15:32:42 +00:00
|
|
|
- nimbus-pyrmont-stable
|
|
|
|
- nimbus-pyrmont-testing
|
|
|
|
- nimbus-pyrmont-unstable
|
|
|
|
- nimbus-pyrmont-unstable-libp2p
|
2020-12-04 12:05:31 +00:00
|
|
|
pre_tasks:
|
|
|
|
- name: Discover Goerli Geth WebSocket endpoint
|
|
|
|
tags: [ infra-role-beacon-node, beacon-node ]
|
|
|
|
uri:
|
2021-04-01 10:28:53 +00:00
|
|
|
url: '{{ consul_catalog_url }}/service/nimbus-goerli-node-ws'
|
2020-12-04 12:05:31 +00:00
|
|
|
register: geth_service
|
|
|
|
|
|
|
|
- name: Extract Goerli Geth WebSocket URL
|
|
|
|
tags: [ infra-role-beacon-node, beacon-node ]
|
|
|
|
set_fact:
|
|
|
|
beacon_node_web3_url: 'ws://{{ geth_service.json[0].ServiceAddress }}:{{ geth_service.json[0].ServicePort }}'
|
2020-11-17 12:40:13 +00:00
|
|
|
roles:
|
|
|
|
- { role: distribute-validators, tags: [ distribute-validators ] }
|
|
|
|
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
|