Stouts.redis travis-ci

Ansible role which manage redis

Stouts.redis

Build Status Galaxy

Ansible role which manage redis

Variables

redis_enabled: yes                      # Enable the role
redis_service: redis-server             # Name of the redis service
redis_manage_service: True              # Manage service (start/enabled)
redis_configuration: /etc/redis/redis.conf  # Path to redis configuration
redis_update_kernel: yes                # Set the kernel parameter for vm overcommit

# Setup redis role
redis_role: master
#If role is slave set these values too
redis_master_ip: 1.1.1.1
redis_master_port: 6379
redis_master_auth: None

# Setup redis options
redis_bind: "127.0.0.1"
redis_port: 6379
redis_syslog_enabled: "yes"
redis_databases: 4
redis_database_save_times:
  - [900, 1]
  - [300, 10]
  - [60, 10000]
redis_dbfilename: dump.rdb
redis_db_dir: /var/lib/redis
redis_requirepass: false
redis_pass: None
redis_max_clients: 128
redis_max_memory: 512mb
redis_maxmemory_policy: volatile-lru
redis_appendonly: no
redis_appendfilename: appendonly.aof
redis_appendfsync: everysec

# redis_unixsocket: /var/run/redis/redis.sock
# redis_unixsocketperm: 755

Usage

Add Stouts.redis to your roles and set vars in your playbook file.

Example:


- hosts: all

  roles:
    - Stouts.redis

  vars:
    redis_bind: 0.0.0.0

License

Licensed under the MIT License. See the LICENSE file for details.

Feedback, bug-reports, requests, …

Are welcome!

Related Repositories

Stouts.redis

Stouts.redis

Ansible role which manage redis ...


Top Contributors

klen deimosfr jezdez alexey-sveshnikov

Releases

-   1.5.3 zip tar
-   1.5.2 zip tar
-   1.5.1 zip tar
-   1.5.0 zip tar
-   1.4.2 zip tar
-   1.4.1 zip tar
-   1.4.0 zip tar
-   1.3.3 zip tar
-   1.3.2 zip tar
-   1.3.1 zip tar
-   1.3.0 zip tar
-   1.2.0 zip tar
-   1.1.2 zip tar
-   1.1.1 zip tar
-   1.1.0 zip tar
-   1.0.0 zip tar