The task is this:
- name: "Check Ansible version"
run_once: true
debug: msg="You need at least version 2.0.0.0, currently using version {{
ansible_version.full }}"
failed_when: "{{ ansible_version.full | version_compare('2.0.0.0',
operator='lt', strict=False)}}"
The error message doesn't ring a bell, it worked in 2.0.1.0:
The conditional check '{{ ansible_version.full|version_compare(\"2.0.0.0\" '
failed. The error was: template error while templating string: unexpected
end of template, expected ','.. String: {{ ansible_version.full|
version_compare(\"2.0.0.0\" "}
Any idea what's wrong with it?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/18000054-6078-4803-915c-4055b7a0719a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.