Compare commits

..

1 Commits

Author SHA1 Message Date
7d160d9b1f
feat(valkey): add ansible role 2024-11-03 17:28:40 +01:00
5 changed files with 0 additions and 35 deletions

View File

@ -10,7 +10,3 @@
- [`mariadb`](roles/mariadb/README.md): deploy mariadb
in a docker container
- [`valkey`](roles/valkey/README.md): deploy and configure valkey,
an open source in-memory data store under BSD license, forked
from redis.

View File

@ -16,5 +16,4 @@ tags:
- elasticsearch
- redis
- mariadb
- valkey
- docker

View File

@ -1,6 +0,0 @@
---
- name: Deploy and configure valkey
hosts: "{{ valkey_hosts | default('valkey', true) }}"
become: "{{ valkey_become | default(true, true) }}"
roles:
- finallycoffee.databases.valkey

View File

@ -1,13 +0,0 @@
# `finallycoffee.databases.valkey` ansible role
Valkey is an open source (BSD 3 licensed), high-performance in-memory key/value
data store, ideal for workloads like caching or message queues. It has been
forked from redis 7.2.4 before redis license was changed to SSPL.
Valkey offers compatibility to redis and can be used as a drop-in replacement
for redis.
## Configuration
For the configuration, see the [`redis` role configuration](../redis/README.md#configuration),
and swap the `redis_` prefix of all variables for the `valkey_` prefix.

View File

@ -1,11 +0,0 @@
---
- name: Ensure valkey container '{{ valkey_container_name }}' is restarted
community.docker.docker_container:
name: "{{ valkey_container_name }}"
state: "{{ valkey_container_state }}"
restart: true
listen: valkey-restart
when:
- valkey_deployment_method == 'docker'
- valkey_state == 'present'
ignore_errors: "{{ ansible_check_mode }}"