1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_versioncheck.git synced 2024-08-16 15:59:49 +02:00

Start with copy the role from toolbox repo

This commit is contained in:
L3D 2019-10-07 22:37:50 +02:00
parent b7052f5c21
commit 91d9f4d78f
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 8 additions and 0 deletions

2
defaults/main.yml Normal file
View file

@ -0,0 +1,2 @@
---
check_ansible_version: 2.8.5

6
tasks/main.yml Normal file
View file

@ -0,0 +1,6 @@
---
- name: "check if ansible version is above {{ check_ansible_version }}"
assert:
that: "ansible_version.full is version_compare(check_ansible_version, '>=')"
msg: >
"You must update Ansible to at least 2.8 to use this version of the toolbox openstack playbook."