Install and configure KeyDB Active Replication on your system.
[keydb_active_replication:children]
keydb_active_replication_infra
keydb_active_replication_shopping
[keydb_active_replication_infra]
vm-dev-keydb-infra-0
vm-dev-keydb-infra-1
[keydb_active_replication_shopping]
vm-dev-keydb-shopping-0
vm-dev-keydb-shopping-1
vm-dev-keydb-shopping-2
- name: Deploy KeyDB Active Replication
hosts: keydb_active_replication
pre_tasks:
- name: Verify Ansible meets KeyDB requirements.
assert:
that: "ansible_version.full is version_compare('2.10.0', '>=')"
msg: >
"You must update Ansible to at least 2.10.0 to use this playbook"
roles:
- { role: keydb-active-replication, tags: keydb-active-replication }
These variables are set in defaults/main.yml.
---
######### KeyDB config
keydb_active_replication_conf:
port: "6379"
maxmemory: "64mb"
rename_commands:
- FLUSHDB
- FLUSHALL
- KEYS
- SHUTDOWN
....
pip packages listed in requirements.txt.
MIT
v0112358