mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-01-10 13:56:07 +00:00
Jakub Sokołowski
757b097c81
Since Ansible or Ansible Galaxy doesn't actually check role versions itself, we have to do it ourselves. This script goes through contents of `ansible/requirements.txt` and verifies each role is installed and has correct version. It also checks the version of Ansible itself. Signed-off-by: Jakub Sokołowski <jakub@status.im>
21 lines
515 B
YAML
21 lines
515 B
YAML
---
|
|
- name: 'Verify Ansible versions'
|
|
hosts: all
|
|
run_once: true
|
|
connection: local
|
|
tags: always
|
|
gather_facts: false
|
|
tasks:
|
|
- local_action: command ./versioncheck.py
|
|
changed_when: false
|
|
|
|
- name: Configure geth nodes
|
|
become: true
|
|
hosts:
|
|
- nimbus-geth-goerli
|
|
- nimbus-geth-mainnet
|
|
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 }
|