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:
|
2021-11-22 14:36:56 +00:00
|
|
|
- { role: redirect-ports, tags: redirect-ports }
|
2021-10-04 20:07:23 +00:00
|
|
|
- { role: get-geth-web3-urls, tags: get-geth-web3-urls }
|
2021-07-15 18:15:58 +00:00
|
|
|
tasks:
|
|
|
|
- include_role: name=infra-role-beacon-node-linux
|
2021-10-04 20:07:23 +00:00
|
|
|
tags: [ beacon-node, infra-role-beacon-node-linux ]
|
|
|
|
with_items: '{{ nodes_layout[hostname] }}'
|
2021-07-15 18:15:58 +00:00
|
|
|
loop_control:
|
|
|
|
loop_var: node
|
|
|
|
index_var: port_offset
|