infra-nimbus/ansible/holesky.yml
Jakub Sokołowski 10ff179299
nimbus.holesky: add Geth hosts for MacOS and Windows
No Windows host with beacon nodes currently.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-21 16:53:36 +01:00

39 lines
1014 B
YAML

---
- 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 Holesky Linux Beacon Nodes
become: true
serial: '{{ serial|default(1) }}'
hosts:
- nimbus-holesky-geth
- nimbus-holesky-erigon
- nimbus-holesky-neth
vars_files: layout/holesky.yml
roles:
- role: update-netplan
tags: update-netplan
when: ansible_system == 'Linux'
tasks:
- include_role: name=infra-role-beacon-node-linux
with_items: '{{ nodes_layout[hostname] }}'
loop_control: { loop_var: node, index_var: idx }
- name: Deploy Holesky MacOS Beacon Nodes
become: true
serial: '{{ serial|default(1) }}'
hosts:
- nimbus-holesky-macm2
vars_files: layout/holesky.yml
tasks:
- include_role: name=infra-role-beacon-node-macos
with_items: '{{ nodes_layout[hostname] }}'
loop_control: { loop_var: node, index_var: idx }