v0112358.keydb_active_replication

Ansible Role: KeyDB Active Replication

=========

CI Ansible Role GitHub license

This role installs and configures KeyDB Active Replication on your system.

Example Inventory


[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

Example Playbook


- name: Deploy KeyDB Active Replication
  hosts: keydb_active_replication
  pre_tasks:
    - name: Check if Ansible meets KeyDB requirements.
      assert:
        that: "ansible_version.full is version_compare('2.10.0', '>=')"
        msg: >
          "You need to update Ansible to at least 2.10.0 to run this playbook."
  roles:
    - { role: keydb-active-replication, tags: keydb-active-replication }

Role Variables


These variables are found in defaults/main.yml.

---
######### KeyDB configuration
keydb_active_replication_conf:
  port: "6379"
  maxmemory: "64mb"
  rename_commands:
    - FLUSHDB
    - FLUSHALL
    - KEYS
    - SHUTDOWN
....

Requirements


This role requires Python packages listed in requirements.txt.

License


MIT License

Author Information


v0112358

Informazioni sul progetto

Create KeyDB Active Replication

Installa
ansible-galaxy install v0112358.keydb_active_replication
Licenza
mit
Download
25.9k
Proprietario