https://github.com/punktde/ansible-proserver-redis
https://github.com/punktde/ansible-proserver-redis
ansible database proserver redis
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/punktde/ansible-proserver-redis
- Owner: punktDe
- Created: 2017-12-15T17:44:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2026-02-19T15:35:37.000Z (4 months ago)
- Last Synced: 2026-02-19T19:13:46.420Z (4 months ago)
- Topics: ansible, database, proserver, redis
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ansible-proserver-redis
redis role for Proserver
## Supported Operating Systems
- Debian 12, 13
- Ubuntu 24.04, 22.04
- FreeBSD [Proserver](https://infrastructure.punkt.de/de/produkte/proserver.html)
## Role Arguments
#### Options for `redis`
|Option|Description|Type|Required|Default|
|---|---|---|---|---|
| `prefix` | Path and naming prefixes (config directory, etc.). | dict of 'prefix' options | no | |
| `service` | System service names for Redis server and Sentinel. | dict of 'service' options | no | |
| `redis.conf` | Redis server configuration as key-value pairs. Each key is written to redis.conf with the given value. Empty or false values remove the line. | dict | no | |
| `sentinel.conf` | Redis Sentinel configuration as key-value pairs. Each key is written to sentinel.conf. Only used when redis.replication.sentinel is true. | dict | no | |
| `replication` | Replication and Sentinel options. | dict of 'replication' options | no | |
#### Options for `redis.prefix`
|Option|Description|Type|Required|Default|
|---|---|---|---|---|
| `config` | Directory containing redis.conf and sentinel.conf. Defaults to /etc/redis on Linux and /usr/local/etc on FreeBSD. | str | no | |
#### Options for `redis.service`
|Option|Description|Type|Required|Default|
|---|---|---|---|---|
| `server` | Redis server service name. Defaults to redis-server on Linux and redis on FreeBSD. | str | no | |
| `sentinel` | Redis Sentinel service name. Defaults to redis-sentinel on Linux and sentinel on FreeBSD. | str | no | redis-sentinel |
#### Options for `redis.replication`
|Option|Description|Type|Required|Default|
|---|---|---|---|---|
| `sentinel` | Whether to install and configure Redis Sentinel. | bool | no | False |
## Dependencies
None.
## Installation
Add this role to the requirements.yml of your playbook as follows:
```yaml
roles:
- name: ansible-proserver-redis
src: https://github.com/punktDe/ansible-proserver-redis
```
Afterwards, install the role by running `ansible-galaxy install -r requirements.yml`
## Example Playbook
```yaml
- hosts: all
roles:
- name: redis
```