Skip to content
Snippets Groups Projects
Unverified Commit 3ced391f authored by Pat Riehecky's avatar Pat Riehecky Committed by GitHub
Browse files

Print the found version when it is incorrect (#10109)


Signed-off-by: default avatarPat Riehecky <riehecky@fnal.gov>
parent ea7dcd46
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
tasks:
- name: "Check {{ minimal_ansible_version }} <= Ansible version < {{ maximal_ansible_version }}"
assert:
msg: "Ansible must be between {{ minimal_ansible_version }} and {{ maximal_ansible_version }} exclusive"
msg: "Ansible must be between {{ minimal_ansible_version }} and {{ maximal_ansible_version }} exclusive - you have {{ ansible_version.string }}"
that:
- ansible_version.string is version(minimal_ansible_version, ">=")
- ansible_version.string is version(maximal_ansible_version, "<")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment