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
|
|
|
|
2021-07-15 18:15:58 +00:00
|
|
|
- name: Deploy pyrmont Metal beacon nodes
|
|
|
|
become: true
|
2021-08-18 09:49:17 +00:00
|
|
|
serial: '{{ serial|default(4) }}'
|
2021-07-15 18:15:58 +00:00
|
|
|
hosts:
|
|
|
|
- nimbus-pyrmont-metal
|
2021-07-19 10:33:23 +00:00
|
|
|
roles:
|
|
|
|
- role: get-geth-web3-urls
|
2021-08-11 17:54:36 +00:00
|
|
|
tags: get-geth-web3-urls
|
2021-07-15 18:15:58 +00:00
|
|
|
tasks:
|
|
|
|
- include_role: name=infra-role-beacon-node-linux
|
2021-08-11 17:54:36 +00:00
|
|
|
tags: beacon-node
|
2021-07-15 18:15:58 +00:00
|
|
|
vars:
|
2021-07-19 10:33:23 +00:00
|
|
|
# Using whole libp2p branch name would be far too long.
|
|
|
|
beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-{{ node.name }}'
|
|
|
|
beacon_node_build_frequency: '{{ node.build_frequency }}'
|
2021-08-18 09:49:17 +00:00
|
|
|
# Temporary until the usual branches get the Altair changes.
|
|
|
|
beacon_node_repo_branch: 'altair'
|
2021-07-15 18:15:58 +00:00
|
|
|
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 }}'
|
2021-07-19 10:33:23 +00:00
|
|
|
beacon_node_dist_validators_start: '{{ validators_layout[hostname][node.name]["start"] | mandatory }}'
|
|
|
|
beacon_node_dist_validators_end: '{{ validators_layout[hostname][node.name]["end"] | mandatory }}'
|
2021-07-15 18:15:58 +00:00
|
|
|
with_items:
|
2021-07-19 11:36:19 +00:00
|
|
|
- { name: 'stable', branch: 'stable', build_frequency: '*-*-* 11:00:00' }
|
|
|
|
- { name: 'unstable', branch: 'unstable', build_frequency: '*-*-* 13:00:00' }
|
|
|
|
- { name: 'testing', branch: 'testing', build_frequency: '*-*-* 15:00:00' }
|
|
|
|
- { name: 'libp2p', branch: 'nim-libp2p-auto-bump-unstable', build_frequency: '*-*-* 17:00:00' }
|
2021-07-15 18:15:58 +00:00
|
|
|
loop_control:
|
|
|
|
loop_var: node
|
|
|
|
index_var: port_offset
|