{"id":22845450,"url":"https://github.com/idealista/redis_role","last_synced_at":"2025-08-25T01:11:17.193Z","repository":{"id":50183382,"uuid":"88843701","full_name":"idealista/redis_role","owner":"idealista","description":"Ansible role to install Redis Server nodes. Single and Cluster mode available","archived":false,"fork":false,"pushed_at":"2025-02-27T15:52:30.000Z","size":299,"stargazers_count":10,"open_issues_count":7,"forks_count":7,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-03-30T11:24:45.712Z","etag":null,"topics":["ansible","ansible-role","debian","playbook","redis","redis-cluster","redis-server"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/idealista/redis_role/","language":"YAML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idealista.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-04-20T09:01:54.000Z","updated_at":"2025-02-27T15:48:58.000Z","dependencies_parsed_at":"2024-01-15T17:38:24.649Z","dependency_job_id":null,"html_url":"https://github.com/idealista/redis_role","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fredis_role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fredis_role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fredis_role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fredis_role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idealista","download_url":"https://codeload.github.com/idealista/redis_role/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251347916,"owners_count":21575178,"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":["ansible","ansible-role","debian","playbook","redis","redis-cluster","redis-server"],"created_at":"2024-12-13T03:17:18.943Z","updated_at":"2025-04-28T16:44:36.241Z","avatar_url":"https://github.com/idealista.png","language":"YAML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](logo.gif)\n\n# Redis Ansible role\n\n[![Build Status](https://travis-ci.com/idealista/redis_role.png)](https://app.travis-ci.com/github/idealista/redis_role)\n[![Ansible Galaxy](https://img.shields.io/badge/galaxy-idealista.redis__role-B62682.svg)](https://galaxy.ansible.com/idealista/redis_role)\n\nThis Ansible role installs Redis server in a Debian environment.\n\n- [Redis Ansible role](#redis-ansible-role)\n  - [Getting Started](#getting-started)\n    - [Prerequisities](#prerequisities)\n    - [Installing](#installing)\n  - [Usage](#usage)\n  - [Testing](#testing)\n    - [Install dependencies](#install-dependencies)\n    - [Testing single mode](#testing-single-mode)\n    - [Testing cluster mode](#testing-cluster-mode)\n  - [Built With](#built-with)\n  - [Versioning](#versioning)\n  - [Authors](#authors)\n  - [License](#license)\n  - [Contributing](#contributing)\n\n## Getting Started\n\nThese instructions will get you a copy of the role for your Ansible playbook. Once launched, it will install a [Redis](https://redis.io/) server.\n\n### Prerequisities\n\nAnsible 2.9.x.x version installed.\nInventory destination should be a Debian environment.\n\nFor testing purposes, [Molecule](https://molecule.readthedocs.io/) with [Docker](https://www.docker.com/) as driver.\n\n### Installing\n\nCreate or add to your roles dependency file (e.g requirements.yml):\n\n```\n- src: idealista.redis_role\n  version: 4.0.3\n  name: redis\n```\n\nInstall the role with ansible-galaxy command:\n\n```\nansible-galaxy install -p roles -r requirements.yml -f\n```\n\nUse in a playbook:\n\n```\n- hosts: someserver\n  roles:\n    - redis\n```\n\n## Usage\n\nATTENTION since version 5.0.0 we have introduced authentication and it is important to use two variables:\n - redis_auth which is mandatory to have a value (true/false)\n - redis_password which defines the password that will be set, remember to put it   in the vault so that it is not left unencrypted (it must be 30 characters, with numbers, upper and lower case)\n\nIF THESE VARIABLES ARE NOT CORRECTLY CONFIGURED, THE ROLE INSTALLATION WILL FAIL WITH AN EXPLANATORY MESSAGE.\n\n\nLook to the [defaults](defaults/main.yml) properties file to see the possible configuration properties.\n\n**Note:** It's recommended to use [Prometheus Redis Exporter Role](https://github.com/idealista/prometheus_redis_exporter-role) if Prometheus monitoring is needed.\n\n## Testing\n\n### Install dependencies\n\n```sh\n$ pipenv sync\n```\n\nFor more information read the [pipenv docs](https://docs.pipenv.org/).\n\n### Testing single mode\n\n```sh\n$ pipenv run molecule test -s single\n```\n\n### Testing cluster mode\n\n```sh\n$ pipenv run molecule test -s cluster\n```\n\n## Built With\n\n![Ansible](https://img.shields.io/badge/ansible-2.8.0.0-green.svg)\n![Molecule](https://img.shields.io/badge/molecule-2.22.0-green.svg)\n![Goss](https://img.shields.io/badge/goss-0.3.7-green.svg)\n\n## Versioning\n\nFor the versions available, see the [tags on this repository](https://github.com/idealista/redis_role/tags).\n\nAdditionaly you can see what change in each version in the [CHANGELOG.md](CHANGELOG.md) file.\n\n## Authors\n\n* **Idealista** - *Work with* - [idealista](https://github.com/idealista)\n\nSee also the list of [contributors](https://github.com/idealista/redis_role/contributors) who participated in this project.\n\n## License\n\n![Apache 2.0 License](https://img.shields.io/hexpm/l/plug.svg)\n\nThis project is licensed under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](.github/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fredis_role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidealista%2Fredis_role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fredis_role/lists"}