fix(redis): assert version correctly

This commit is contained in:
Lars Kaiser 2024-06-25 16:19:38 +02:00
parent 5a011dff61
commit 450dc3f859
No known key found for this signature in database
GPG key ID: BB97304A16BC5DCF

View file

@ -1,7 +1,7 @@
---
- name: "Assure redis version isn't too new"
ansible.builtin.assert:
that: "{{redis_version }} is version('7.2.4' '<=')"
that: "'{{ redis_version }}' is version('7.2.4', '<=', version_type='semver')"
ignore_errors: "{{ redis_allow_non_foss_yes_really }}"
- name: "Create redis user"