2020-11-24 12:37:00 +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.'
|
|
|
|
|
|
|
|
- name: Configure geth nodes
|
2020-11-24 15:14:15 +00:00
|
|
|
hosts:
|
|
|
|
- nimbus-geth-goerli
|
|
|
|
- nimbus-geth-mainnet
|
2020-11-24 12:37:00 +00:00
|
|
|
roles:
|
|
|
|
- { role: swap-file, tags: swap-file }
|
|
|
|
- { role: infra-role-geth, tags: infra-role-geth }
|
|
|
|
- { role: infra-role-geth-exporter, tags: infra-role-geth-exporter }
|