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

Improve error messages

This commit is contained in:
L3D 2020-01-16 00:14:18 +01:00
parent 01f3f9deee
commit c5c0a553c1
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 2 additions and 2 deletions

View file

@ -1,2 +1,2 @@
--- ---
check_ansible_version: 2.9.1 check_ansible_version: 2.9.0

View file

@ -3,5 +3,5 @@
assert: assert:
that: "ansible_version.full is version_compare(check_ansible_version, '>=')" that: "ansible_version.full is version_compare(check_ansible_version, '>=')"
msg: > msg: >
"You must update Ansible to at least {{ check_ansible_version }} to use this version of the toolbox openstack playbook." "You need at least ansible version {{ check_ansible_version }}. Current Version: {{ ansible_version.full }}"
delegate_to: localhost delegate_to: localhost