infra-nimbus/ansible/pyrmont.yml

25 lines
781 B
YAML
Raw Normal View History

---
- name: Pre-playbook checks
hosts: localhost
tasks:
- name: 'Verify Ansible version is 2.8 or newer'
assert:
that: 'ansible_version.full is version_compare("2.8", ">=")'
msg: 'Your Ansible version is lower than 2.8. Upgrade it.'
- name: Configure build nodes
hosts:
- master-large-01.aws-eu-central-1a.nimbus.pyrmont
- master-small-01.aws-eu-central-1a.nimbus.pyrmont
roles:
- { role: beacon-node-builds, tags: beacon-node-builds }
- name: Configure network pyrmont
hosts:
- nimbus-pyrmont-master
- nimbus-pyrmont-devel
- nimbus-pyrmont-libp2p
roles:
- { role: distribute-validators, tags: [ distribute-validators ] }
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }