Skip to content

aboodbinjafar/ansible-role-redis-cluster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: redis-cluster

Ansible role to install and configure Redis Cluster and its topology.

Requirements

Debian-based distributions, requires systemd and dnspython.

Role Variables

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'

Example Playbook

- hosts: all
  roles:
    - role: redis-cluster.chaordic

License

GPLv3

Author Information

Cloud Infrastructure Team, Linx Impulse

About

Ansible role to install and configure Redis Cluster and its topology.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 99.6%
  • Shell 0.4%