mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
c0008e976f
* Add ArchLinux, Debian Bullseye and CentOS Stream 8 to CI.
* Add Alpine to CI matrix as well.
(cherry picked from commit a06903f33a
)
Co-authored-by: Felix Fontein <felix@fontein.de>
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
# General
|
|
redis_packages:
|
|
Alpine:
|
|
- redis
|
|
Archlinux:
|
|
- redis
|
|
Debian:
|
|
- redis-server
|
|
Ubuntu:
|
|
- redis-server
|
|
openSUSE Leap:
|
|
- redis
|
|
Fedora:
|
|
- redis
|
|
CentOS:
|
|
- redis
|
|
FreeBSD:
|
|
- redis
|
|
|
|
redis_bin:
|
|
Alpine: /usr/bin/redis-server
|
|
Archlinux: /usr/bin/redis-server
|
|
Debian: /usr/bin/redis-server
|
|
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: redis
|
|
|
|
redis_password: PASS
|
|
|
|
old_redis: >-
|
|
{{
|
|
(ansible_distribution == 'CentOS' and ansible_distribution_major_version|int <= 7) or
|
|
(ansible_distribution == 'Ubuntu' and ansible_distribution_major_version|int <= 18) or
|
|
(ansible_os_family == 'FreeBSD' and ansible_distribution_major_version|int <= 12)
|
|
}}
|
|
|
|
# Master
|
|
master_port: 6379
|
|
master_conf: /etc/redis-master.conf
|
|
master_datadir: /var/lib/redis-master
|
|
master_logdir: /var/log/redis-master
|
|
|
|
# Replica
|
|
replica_port: 6380
|
|
replica_conf: /etc/redis-replica.conf
|
|
replica_datadir: /var/lib/redis-replica
|
|
replica_logdir: /var/log/redis-replica
|