mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
Add info command to redis module (#286)
* Add info command to redis module * Fix sanity test * Create a separate redis_info module * Type of arguments in documentation was determined * Add redis_info test * Fix sanity test * Add integration test * Add integration platforms (centos7/8,fedora30/31,opensuse15+py2,ubuntu1604/1804) * Add centos6 support * Fix suggestions * Add contact email
This commit is contained in:
parent
2e60bdcdfe
commit
80d41583d1
15 changed files with 555 additions and 0 deletions
|
@ -0,0 +1,35 @@
|
|||
# General
|
||||
redis_packages:
|
||||
Ubuntu:
|
||||
- redis-server
|
||||
openSUSE Leap:
|
||||
- redis
|
||||
Fedora:
|
||||
- redis
|
||||
CentOS:
|
||||
- redis
|
||||
FreeBSD:
|
||||
- redis
|
||||
|
||||
redis_bin:
|
||||
Ubuntu: /usr/bin/redis-server
|
||||
openSUSE Leap: /usr/sbin/redis-server
|
||||
Fedora: /usr/bin/redis-server
|
||||
CentOS: /usr/bin/redis-server
|
||||
FreeBSD: /usr/local/bin/redis-server
|
||||
|
||||
redis_module: "{{ (ansible_python_version is version('2.7', '>=')) | ternary('redis', 'redis==2.10.6') }}"
|
||||
|
||||
redis_password: PASS
|
||||
|
||||
# Master
|
||||
master_port: 6379
|
||||
master_conf: /etc/redis-master.conf
|
||||
master_datadir: /var/lib/redis-master
|
||||
master_logdir: /var/log/redis-master
|
||||
|
||||
# Slave
|
||||
slave_port: 6380
|
||||
slave_conf: /etc/redis-slave.conf
|
||||
slave_datadir: /var/lib/redis-slave
|
||||
slave_logdir: /var/log/redis-slave
|
Loading…
Add table
Add a link
Reference in a new issue