2022-06-15 13:03:58 +00:00
|
|
|
---
|
|
|
|
- name: Verify Ansible versions
|
|
|
|
hosts: all
|
|
|
|
tags: always
|
|
|
|
become: false
|
|
|
|
run_once: true
|
|
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
|
|
- local_action: command ./versioncheck.py
|
|
|
|
changed_when: false
|
|
|
|
|
|
|
|
- name: Deploy Spolia Testnet nodes
|
|
|
|
become: true
|
|
|
|
serial: '{{ serial|default(1) }}'
|
2023-11-21 15:31:45 +00:00
|
|
|
vars_files: layout/sepolia.yml
|
2022-06-15 13:03:58 +00:00
|
|
|
hosts:
|
2022-09-14 15:02:50 +00:00
|
|
|
- nimbus-sepolia-linux
|
2023-05-15 14:19:19 +00:00
|
|
|
roles:
|
2024-03-20 12:45:40 +00:00
|
|
|
- { role: update-netplan, tags: [ update-netplan ], when: ansible_system == 'Linux' }
|
2024-03-10 12:26:14 +00:00
|
|
|
- { role: infra-role-open-ports, tags: [ open-ports ] }
|
|
|
|
- { role: infra-role-smart-metrics, tags: [ smart-metrics ] }
|
|
|
|
- { role: redirect-ports, tags: [ redirect-ports ] }
|
|
|
|
- { role: nimbus-era-files, tags: [ nimbus-era-files ] }
|
2022-06-15 13:03:58 +00:00
|
|
|
tasks:
|
|
|
|
- include_role: name=infra-role-geth
|
|
|
|
with_items: '{{ nodes_layout[hostname] }}'
|
|
|
|
loop_control:
|
|
|
|
loop_var: node
|
|
|
|
index_var: idx
|
2022-07-07 14:24:06 +00:00
|
|
|
|
|
|
|
- include_role: name=infra-role-beacon-node-linux
|
|
|
|
with_items: '{{ nodes_layout[hostname] }}'
|
|
|
|
loop_control:
|
|
|
|
loop_var: node
|
|
|
|
index_var: idx
|
|
|
|
|
2022-09-27 23:56:45 +00:00
|
|
|
- include_role: name=infra-role-validator-client
|
|
|
|
with_items: '{{ nodes_layout[hostname] }}'
|
|
|
|
loop_control:
|
|
|
|
loop_var: node
|
|
|
|
index_var: idx
|
|
|
|
|
2024-01-25 11:00:57 +00:00
|
|
|
- name: Deploy Sepolia Testnet Nimbus-Eth1 trial
|
2022-07-07 14:24:06 +00:00
|
|
|
become: true
|
|
|
|
serial: '{{ serial|default(1) }}'
|
|
|
|
hosts:
|
2022-09-14 15:02:50 +00:00
|
|
|
- nimbus-sepolia-linux
|
2022-07-07 14:24:06 +00:00
|
|
|
tasks:
|
|
|
|
- name: Load network specific variables
|
|
|
|
tags: [ always ]
|
|
|
|
include_vars: file=vars/nimbus-sepolia-trial.yml
|
|
|
|
|
|
|
|
- include_role: name=infra-role-nimbus-eth1
|
|
|
|
with_items: '{{ nodes_layout[hostname] }}'
|
|
|
|
loop_control:
|
|
|
|
loop_var: node
|
|
|
|
index_var: idx
|
|
|
|
|
2022-06-17 09:55:18 +00:00
|
|
|
- include_role: name=infra-role-beacon-node-linux
|
|
|
|
with_items: '{{ nodes_layout[hostname] }}'
|
|
|
|
loop_control:
|
|
|
|
loop_var: node
|
|
|
|
index_var: idx
|