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'
|
2020-11-17 12:39:32 +00:00
|
|
|
# Legacy binary necessary for medalla network
|
|
|
|
beacon_node_cont_entrypoint: '/usr/local/bin/nimbus_beacon_node_spec_0_12_3'
|
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-11-17 12:39:32 +00:00
|
|
|
# Legacy binary necessary for medalla network
|
|
|
|
beacon_node_cont_entrypoint: '/usr/local/bin/nimbus_beacon_node_spec_0_12_3'
|
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-11-17 12:39:32 +00:00
|
|
|
# Legacy binary necessary for medalla network
|
|
|
|
beacon_node_cont_entrypoint: '/usr/local/bin/nimbus_beacon_node_spec_0_12_3'
|
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 ] }
|