This ansible role installs Redis server in a debian environment.
These instructions will get you a copy of the role for your ansible playbook. Once launched, it will install a Redis server.
Ansible 2.2.1.0 version installed. Inventory destination should be a Debian environment.
For testing purposes, Molecule with Vagrant as driver (with landrush plugin) and VirtualBox as provider.
Create or add to your roles dependency file (e.g requirements.yml):
- src: idealista.redis-role
version: 1.0.0
name: redis
Install the role with ansible-galaxy command:
ansible-galaxy install -p roles -r requirements.yml -f
Use in a playbook:
- hosts: someserver
roles:
- redis
Look to the defaults properties file to see the possible configuration properties.
There is a playbook and example configuration on cluster mode test. This role have been testing to deploy a cluster provisioning host one by one (serial: 1
).
pipenv install
For more information read the pipenv docs.
pipenv shell
molecule test -s cluster
NOTE: This test have been removed from Travis CI because it takes too much time.
pipenv shell
molecule test -s single
For the versions available, see the tags on this repository.
Additionaly you can see what change in each version in the CHANGELOG.md file.
- Idealista - Work with - idealista
See also the list of contributors who participated in this project.
This project is licensed under the Apache 2.0 license - see the LICENSE file for details.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.