Stouts.redis travis-ci

Ansible role which manage redis

3 years after

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

ionic-photo-gallery

ionic-photo-gallery

A hybrid app with authentication that allows registered users view a gallery of ...

Stouts.grafana

Stouts.grafana

Ansible role which Installs and setups Grafana metrics dashboard ...

ansible-sentry

ansible-sentry

Ansible role which manage Sentry ...

awesome-ansible-role

awesome-ansible-role

A list of simple Ansible roles we use in our project ...

provisioner

provisioner

Prepare enviroment on linux (Ubuntu) for run Ruby on Rails application in produc ...


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