2020-11-17 13:40:13 +01:00
|
|
|
---
|
2021-05-10 15:29:38 +02:00
|
|
|
- name: Verify Ansible versions
|
2021-04-09 08:18:59 +02:00
|
|
|
hosts: all
|
|
|
|
tags: always
|
2021-05-10 15:29:38 +02:00
|
|
|
become: false
|
|
|
|
run_once: true
|
2021-04-09 08:18:59 +02:00
|
|
|
gather_facts: false
|
2020-11-17 13:40:13 +01:00
|
|
|
tasks:
|
2021-04-09 08:18:59 +02:00
|
|
|
- local_action: command ./versioncheck.py
|
|
|
|
changed_when: false
|
2020-11-17 13:40:13 +01:00
|
|
|
|
2021-07-15 20:15:58 +02:00
|
|
|
- name: Deploy pyrmont Metal beacon nodes
|
|
|
|
become: true
|
2021-08-18 11:49:17 +02:00
|
|
|
serial: '{{ serial|default(4) }}'
|
2021-07-15 20:15:58 +02:00
|
|
|
hosts:
|
|
|
|
- nimbus-pyrmont-metal
|
2021-07-19 12:33:23 +02:00
|
|
|
roles:
|
2021-10-04 22:07:23 +02:00
|
|
|
- { role: get-geth-web3-urls, tags: get-geth-web3-urls }
|
2021-07-15 20:15:58 +02:00
|
|
|
tasks:
|
|
|
|
- include_role: name=infra-role-beacon-node-linux
|
2021-10-04 22:07:23 +02:00
|
|
|
tags: [ beacon-node, infra-role-beacon-node-linux ]
|
|
|
|
with_items: '{{ nodes_layout[hostname] }}'
|
2021-07-15 20:15:58 +02:00
|
|
|
loop_control:
|
|
|
|
loop_var: node
|
|
|
|
index_var: port_offset
|