infra-nimbus/ansible/ropsten.yml
Jakub Sokołowski 4d43415e61
nimbus.ropsten: open geth exporter ports
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-25 21:11:46 +02:00

47 lines
1.2 KiB
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 Ropsten Testnet nodes
become: true
serial: '{{ serial|default(1) }}'
hosts:
- nimbus.ropsten
roles:
- { role: open-ports, tags: open-ports }
tasks:
- include_role: name=infra-role-geth
tags: [ geth, infra-role-geth ]
with_items: '{{ nodes_layout[hostname] }}'
loop_control:
loop_var: node
index_var: idx
- include_role: name=infra-role-geth-exporter
tags: [ geth, infra-role-geth-exporter ]
with_items: '{{ nodes_layout[hostname] }}'
loop_control:
loop_var: node
index_var: idx
- include_role: name=infra-role-beacon-node-linux
tags: [ beacon-node, infra-role-beacon-node-linux ]
with_items: '{{ nodes_layout[hostname] }}'
loop_control:
loop_var: node
index_var: idx
- include_role: name=infra-role-validator-client
tags: [ validator-client, infra-role-validator-client ]
with_items: '{{ nodes_layout[hostname] }}'
loop_control:
loop_var: node
index_var: idx