2020-11-24 12:37:00 +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-24 12:37:00 +00:00
|
|
|
tasks:
|
2024-06-13 15:19:32 +00:00
|
|
|
- local_action: command ./roles.py --check
|
2021-04-09 06:18:59 +00:00
|
|
|
changed_when: false
|
2020-11-24 12:37:00 +00:00
|
|
|
|
|
|
|
- name: Configure geth nodes
|
2021-02-09 19:27:13 +00:00
|
|
|
become: true
|
2020-11-24 15:14:15 +00:00
|
|
|
hosts:
|
|
|
|
- nimbus-geth-mainnet
|
2020-11-24 12:37:00 +00:00
|
|
|
roles:
|
2024-03-10 12:26:14 +00:00
|
|
|
- { role: infra-role-open-ports, tags: open-ports }
|
|
|
|
- { role: infra-role-smart-metrics, tags: smart-metrics }
|
2024-11-08 09:59:21 +00:00
|
|
|
- { role: infra-role-geth, tags: geth }
|
|
|
|
- { role: infra-role-geth-exporter, tags: geth-exporter }
|
2022-09-06 17:26:25 +00:00
|
|
|
|
2024-04-19 08:13:23 +00:00
|
|
|
- name: Deploy Geth nodes for Windows
|
2022-09-06 17:26:25 +00:00
|
|
|
become: true
|
|
|
|
serial: '{{ serial|default(1) }}'
|
2024-03-21 15:53:36 +00:00
|
|
|
vars_files: layout/holesky.yml
|
2022-09-07 11:27:18 +00:00
|
|
|
hosts:
|
2024-03-21 15:53:36 +00:00
|
|
|
- nimbus-geth-holesky
|
2022-09-06 17:26:25 +00:00
|
|
|
roles:
|
2024-03-10 12:26:14 +00:00
|
|
|
- { role: infra-role-open-ports, tags: open-ports }
|
|
|
|
- { role: infra-role-smart-metrics, tags: smart-metrics }
|
2022-09-06 17:26:25 +00:00
|
|
|
tasks:
|
|
|
|
- include_role: name=infra-role-geth
|
|
|
|
tags: [ geth, infra-role-geth ]
|
2024-09-16 06:10:36 +00:00
|
|
|
with_items: '{{ nodes_layout[inventory_hostname] }}'
|
2022-09-06 17:26:25 +00:00
|
|
|
loop_control:
|
|
|
|
loop_var: node
|
|
|
|
index_var: idx
|
|
|
|
- include_role: name=infra-role-geth-exporter
|
|
|
|
tags: [ geth-exporter, infra-role-geth-exporter ]
|
2024-09-16 06:10:36 +00:00
|
|
|
with_items: '{{ nodes_layout[inventory_hostname] }}'
|
2022-09-06 17:26:25 +00:00
|
|
|
loop_control:
|
|
|
|
loop_var: node
|
|
|
|
index_var: idx
|