infra-nimbus/ansible/rayonism.yml
Jakub Sokołowski a99a6d0fc6
refactor to distribute validators via beacon-node role
This way we can deploy multiple nodes on the same host.
https://github.com/status-im/infra-nimbus/issues/52

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-28 16:43:27 +02:00

20 lines
505 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: Configure rayonism node
become: true
# To avoid clashing/duplicate validators.
any_errors_fatal: true
hosts: 'nimbus.rayonism'
roles:
- { role: infra-role-geth, tags: [ infra-role-geth ] }
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }