feat: create redisha module

- manage redis/sentinel clusters
- ensure ulimit_managed is false
- dynamically find servers in role to identify master
- add redisadm and sentineladm commands
- add script to check if the current host in the master
This commit is contained in:
2024-08-09 23:22:37 +10:00
parent aadd0275ac
commit b7fc6a1993
8 changed files with 202 additions and 0 deletions
@@ -0,0 +1,2 @@
#!/usr/bin/bash
sudo /usr/local/sbin/sentineladm info | grep -q <%= @facts['networking']['fqdn'] %>