{"id":19998580,"url":"https://github.com/inmotionhosting/ansible-role-redis","last_synced_at":"2026-01-31T21:13:48.270Z","repository":{"id":54688446,"uuid":"246330718","full_name":"inmotionhosting/ansible-role-redis","owner":"inmotionhosting","description":"Modular Ansible Role for deploying and configuring Redis","archived":false,"fork":false,"pushed_at":"2024-07-01T19:59:37.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-13T12:15:46.197Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/inmotionhosting/redis","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inmotionhosting.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-10T14:57:59.000Z","updated_at":"2025-02-27T07:39:43.000Z","dependencies_parsed_at":"2022-08-14T00:01:07.327Z","dependency_job_id":"42f41365-eaa1-4f8b-b11b-609f9602639a","html_url":"https://github.com/inmotionhosting/ansible-role-redis","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/inmotionhosting/ansible-role-redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inmotionhosting%2Fansible-role-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inmotionhosting%2Fansible-role-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inmotionhosting%2Fansible-role-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inmotionhosting%2Fansible-role-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inmotionhosting","download_url":"https://codeload.github.com/inmotionhosting/ansible-role-redis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inmotionhosting%2Fansible-role-redis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260665167,"owners_count":23044266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T05:08:51.720Z","updated_at":"2026-01-31T21:13:48.265Z","avatar_url":"https://github.com/inmotionhosting.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Ansible Molecule Pipeline](https://github.com/inmotionhosting/ansible-role-redis/actions/workflows/main.yml/badge.svg) [![GPL-3.0 License](https://img.shields.io/github/license/inmotionhosting/ansible-role-redis.svg?color=blue)](https://github.com/inmotionhosting/ansible-role-redis/blob/master/LICENSE) [![GitHub stars](https://img.shields.io/github/stars/inmotionhosting/ansible-role-redis.svg)](https://github.com/inmotionhosting/ansible-role-redis/stargazers)\n\n![InMotion Hosting Ultrastack](https://www.inmotionhosting.com/wp-content/uploads/2024/01/ultrastack-logo-black-vertical.png)\n\n# Ansible Role: Redis\n\nModular Ansible Role for deploying and configuring Redis\n\n## Requirements\n\nThis role supports the following platforms:\n\n- **RHEL/CentOS/AlmaLinux/RockyLinux**: 7, 8, 9\n- **Debian**: 12 (Bookworm), 13 (Trixie)\n- **Ubuntu**: 22.04 (Jammy), 24.04 (Noble)\n\n## Package Sources\n\nThis role installs Redis from the following repositories:\n\n- **CentOS/RHEL 7**: [Remi Repository](https://rpms.remirepo.net/)\n- **RHEL/CentOS/AlmaLinux/RockyLinux 8+**: [Official Redis Repository](https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/rpm/)\n- **Debian/Ubuntu**: [Official Redis Repository](https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/linux/)\n\n## Installation\n\n```bash\nansible-galaxy install inmotionhosting.redis\n```\n\n## Dependencies\n\nNone.\n\n## Role Variables\n\nAvailable variables are listed below with their default values (see `defaults/main.yml`):\n\n| Variable | Default | Description |\n| -------- | ------- | ----------- |\n| `redis_conf_bind` | `127.0.0.1` | The IP addresses Redis will bind to. |\n| `redis_conf_io_threads` | `(CPU cores - 1)` | Number of I/O threads for threaded I/O (minimum 1). |\n| `redis_conf_lazyfree_lazy_eviction` | `yes` | Use lazy freeing on eviction (improves performance). |\n| `redis_conf_lazyfree_lazy_expire` | `yes` | Use lazy freeing on key expiration (improves performance). |\n| `redis_conf_lazyfree_lazy_server_del` | `yes` | Use lazy freeing on server-side DEL operations (improves performance). |\n| `redis_conf_replica_lazy_flush` | `yes` | Use lazy freeing on replica FLUSHALL/FLUSHDB (improves performance). |\n| `redis_conf_maxmemory` | `\"\"` | Maximum memory limit (e.g., 1G, 512M). Empty for no limit. |\n| `redis_conf_maxmemory_policy` | `allkeys-lru` | The memory eviction policy to use. |\n| `redis_conf_port` | `6379` | The port Redis will listen on. |\n| `redis_conf_requirepass` | `false` | The password required to authenticate to Redis, or `false` to disable authentication. |\n| `redis_conf_timeout` | `60` | Client idle timeout in seconds (0 to disable). |\n| `redis_conf_unixsocket_path` | `\"\"` | Path to the Redis Unix socket file (empty to disable). |\n| `redis_conf_unixsocket_permissions` | `770` | The permissions to set on the Unix socket file. |\n\n## Example Playbook\n\nBasic usage:\n\n```yaml\n- hosts: www\n  roles:\n    - role: inmotionhosting.redis\n```\n\nWith custom configuration:\n\n```yaml\n- hosts: www\n  roles:\n    - role: inmotionhosting.redis\n      redis_conf_maxmemory: 2G\n      redis_conf_requirepass: \"your_secure_password\"\n      redis_conf_bind: \"0.0.0.0\"\n```\n\n## License\n\nGPLv3\n\n## Author Information\n\n[InMotion Hosting](https://inmotionhosting.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finmotionhosting%2Fansible-role-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finmotionhosting%2Fansible-role-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finmotionhosting%2Fansible-role-redis/lists"}