Coder Social home page Coder Social logo

ansible-role-redis's Introduction

Ansible Role: Redis

Ansible role for Redis:

  • performs an opinionated installation from source code
  • tunes OS performance
  • configures Redis using include files instead of modifying the redis.conf shipped into the distribution

It's meant to be run on Ubuntu 64-bit, Trusty and Xenial, machines.

IMPORTANT RDB and AOF are disabled by default. Override configuration directives using redis_includes variable in your tasks.

IMPORTANT Don't rename/disable SHUTDOWN command. It's used by the init script.

Requirements

None.

Role variables

variable required default choices comment
redis_version no 4.0.2   Version of Redis to install
redis_download_checksum no sha256:b1a0915dbc91b979d06df1977fe594c3fa9b189f1f3d38743a2948c9f7634813   Download file checksum. See https://github.com/antirez/redis-hashes
redis_port no 6379   Redis will accept connections on the specified port
redis_bind no 127.0.0.1   Redis will listen for connections from selected interfaces.
redis_requirepass no      
redis_maxmemory_percentage no   no Redis will use at most this percentage of system memory
redis_includes no [] no Include one or more config files here

Dependencies

None.

Example playbook

- hosts: all
  become: true
  roles:
    - adriano-di-giovanni.redis

The `example-*/`` folders contain project files to provision VMs using Vagrant and VirtualBox.

License

MIT

Author information

Adriano Di Giovanni

ansible-role-redis's People

Contributors

adriano-di-giovanni avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.