inmotionhosting.redis

Ansible Molecule Pipeline GPL-3.0 License GitHub stars

InMotion Hosting Ultrastack

Ansible Role: Redis

A modular Ansible role for setting up and configuring Redis.

Requirements

This role works with the two most recent stable versions of specific server-focused Linux distributions and follows their deprecation rules. The supported versions are:

  • CentOS 7.x
  • Debian 10 or later
  • Ubuntu 20.04 LTS or later
  • AlmaLinux 8.x or later
  • RockyLinux 8.x or later

Dependencies

There are no dependencies.

Role Variables

Here are the available configuration options and their default settings (you can also check defaults/main.yml):

Variable Description
redis_conf Location of the Redis configuration file.
redis_conf_bind IP addresses Redis will use.
redis_conf_daemonize If Redis should run as a background service.
redis_conf_logfile Location of the Redis log file.
redis_conf_maxmemory Maximum memory Redis can use.
redis_conf_maxmemory_policy The policy for handling memory usage.
redis_conf_pidfile Location of the Redis PID file.
redis_conf_port The port Redis will listen on.
redis_conf_requirepass If a password is needed to access Redis.
redis_conf_supervised Type of init system Redis will use.

Default: systemd
redis_conf_timeout How long a client connection can last.
redis_conf_unixsocket If Redis should use a Unix socket.
redis_conf_unixsocket_location Location of the Redis Unix socket file.
redis_conf_unixsocket_permissions Permissions for the Unix socket file.
redis_daemon Name of the Redis daemon process.

Example Playbook

- hosts: www
  roles:
    - role: inmotionhosting.redis

License

GPLv3

Author Information

InMotion Hosting

Informazioni sul progetto

Modular Ansible Role for deploying and configuring Redis

Installa
ansible-galaxy install inmotionhosting.redis
Licenza
gpl-3.0
Download
53.2k
Proprietario
Offering Private and Public Cloud, Software as a Service, and Web Hosting