2019-03-21 12:14:11 +00:00
|
|
|
---
|
2019-11-04 14:55:29 +00:00
|
|
|
- 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.'
|
|
|
|
|
2020-11-07 10:49:53 +00:00
|
|
|
- name: Configure beacon node builds
|
|
|
|
hosts: nimbus-master
|
|
|
|
roles:
|
|
|
|
- { role: beacon-node-builds, tags: beacon-node-builds }
|
|
|
|
|
2020-11-10 10:13:34 +00:00
|
|
|
- name: Configure network medalla using master
|
2020-11-05 12:51:42 +00:00
|
|
|
hosts: nimbus.test[0:3]
|
|
|
|
vars:
|
2020-11-10 12:00:02 +00:00
|
|
|
beacon_node_cont_tag: 'master'
|
2019-03-22 15:50:30 +00:00
|
|
|
roles:
|
2020-11-05 12:51:42 +00:00
|
|
|
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
|
|
|
|
- { role: network-debug-script, tags: [ network-debug-script ] }
|
2019-03-21 12:27:16 +00:00
|
|
|
|
2020-11-10 10:13:34 +00:00
|
|
|
- name: Configure network medalla using devel
|
2020-11-05 12:51:42 +00:00
|
|
|
hosts: nimbus.test[4:7]
|
2020-11-02 17:46:50 +00:00
|
|
|
vars:
|
2020-11-10 12:00:02 +00:00
|
|
|
beacon_node_cont_tag: 'devel'
|
2020-09-16 10:50:46 +00:00
|
|
|
roles:
|
2020-11-02 17:46:50 +00:00
|
|
|
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
|
|
|
|
- { role: network-debug-script, tags: [ network-debug-script ] }
|
2020-06-26 20:37:59 +00:00
|
|
|
|
2020-11-10 10:13:34 +00:00
|
|
|
- name: Configure network medalla using libp2p
|
2020-11-05 12:51:42 +00:00
|
|
|
hosts: nimbus.test[8:9]
|
2020-11-02 17:46:50 +00:00
|
|
|
vars:
|
2020-11-10 12:00:02 +00:00
|
|
|
beacon_node_cont_tag: 'libp2p'
|
2020-09-16 10:50:46 +00:00
|
|
|
roles:
|
2020-11-02 17:46:50 +00:00
|
|
|
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
|
|
|
|
- { role: network-debug-script, tags: [ network-debug-script ] }
|
2020-11-10 10:14:49 +00:00
|
|
|
|
|
|
|
- name: Configure network toledo using develop
|
|
|
|
hosts: nimbus-slaves-toledo
|
|
|
|
vars:
|
|
|
|
beacon_node_network: 'toledo'
|
2020-11-10 12:00:25 +00:00
|
|
|
beacon_node_cont_tag: 'toledo'
|
2020-11-10 11:24:12 +00:00
|
|
|
dist_validators_layout:
|
|
|
|
"toledo-01.aws-eu-central-1a.nimbus.test": { start: 0, end: 1024 }
|
|
|
|
"toledo-02.aws-eu-central-1a.nimbus.test": { start: 1024, end: 2047 }
|
2020-11-10 10:14:49 +00:00
|
|
|
roles:
|
2020-11-10 11:24:12 +00:00
|
|
|
- { role: distribute-validators, tags: [ distribute-validators ] }
|
2020-11-10 10:14:49 +00:00
|
|
|
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
|