mirror of
https://github.com/famedly/ansible-collection-base
synced 2024-11-10 06:24:17 +00:00
chore(redis): add assertion for version with license change
closes: https://github.com/famedly/infra-meta/issues/1528 related-to: https://github.com/famedly/infra-meta/issues/1364
This commit is contained in:
parent
44a79890d5
commit
519f9b99c1
2 changed files with 8 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
---
|
||||
# ARE YOU **SURE** YOU WANT TO BUMP THIS VERSION?
|
||||
redis_version: "7.2.4"
|
||||
redis_allow_non_foss_yes_really: false
|
||||
|
||||
redis_user: "{{ redis_prefix }}redis"
|
||||
redis_basepath: "/opt/redis"
|
||||
redis_data_dir: "{{ redis_basepath }}/{{ redis_prefix }}data"
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
---
|
||||
- name: "Assure redis version isn't too new"
|
||||
ansible.builtin.assert:
|
||||
that: "{{redis_version }} is version('7.2.4' '<=')"
|
||||
ignore_errors: "{{ redis_allow_non_foss_yes_really }}"
|
||||
|
||||
- name: "Create redis user"
|
||||
user:
|
||||
name: "{{ redis_user }}"
|
||||
|
|
Loading…
Reference in a new issue