feat: add valkey/redis

This commit is contained in:
Clément Désiles
2025-11-11 00:02:42 +01:00
parent e7dbe470da
commit e692d4df98
9 changed files with 782 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
---
- name: Restart Valkey
ansible.builtin.systemd:
name: "{{ valkey_service_name }}"
state: restarted
- name: Reload Valkey
ansible.builtin.systemd:
name: "{{ valkey_service_name }}"
state: reloaded
- name: Update GRUB
ansible.builtin.shell: |
if command -v update-grub &> /dev/null; then
update-grub
else
grub-mkconfig -o /boot/grub/grub.cfg
fi