mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-01-17 17:21:16 +00:00
add minimal Ansible version check
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
7fb6661674
commit
08be7f7351
@ -1,4 +1,12 @@
|
||||
---
|
||||
- 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 Nimbus master
|
||||
hosts:
|
||||
- nimbus-master
|
||||
|
Loading…
x
Reference in New Issue
Block a user