Ansible role to install and configure Redis Cluster and its topology.
Debian-based distributions, requires systemd
and dnspython
.
redis_cluster_version: 4.0.11
Redis version to use for build from source.
Available variables are listed below, along with default values (see defaults/main.yml
):
redis_cluster_masters:
- name: redis-01.localhost
port: 6378
slaves:
- name: redis-02.localhost
port: 6379
- name: redis-01.localhost
port: 6379
slaves:
- name: redis-02.localhost
port: 6378
redis_cluster_instances:
- port: 6378
protected_mode: 'no'
cluster_enabled: 'no'
- port: 6379
protected_mode: 'no'
cluster_enabled: 'no'
- hosts: all
roles:
- role: redis-cluster.chaordic
GPLv3
Cloud Infrastructure Team, Linx Impulse