mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-25 01:30:22 -07:00
Some checks failed
EOL CI / EOL Sanity (Ⓐ2.13) (push) Has been cancelled
EOL CI / EOL Sanity (Ⓐ2.14) (push) Has been cancelled
EOL CI / EOL Sanity (Ⓐ2.15) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.13+py2.7) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.13+py3.8) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.14+py3.9) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.10) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.5) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.13+alpine3+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.13+alpine3+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.13+alpine3+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.13+fedora35+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.13+fedora35+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.13+fedora35+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.13+opensuse15py2+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.13+opensuse15py2+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.13+opensuse15py2+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.14+alpine3+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.14+alpine3+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.14+alpine3+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/3/) (push) Has been cancelled
import-galaxy / Test to import built collection artifact with Galaxy importer (push) Has been cancelled
Verify REUSE / check (push) Has been cancelled
* Cherry-pick parts ofbf69dc46ff
. * redis_info: adjust tests for Arch Linux (#10129) (cherry picked from commite853a6f39b
)
66 lines
1.6 KiB
YAML
66 lines
1.6 KiB
YAML
---
|
|
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
# General
|
|
redis_packages:
|
|
Alpine:
|
|
- redis
|
|
Archlinux:
|
|
- valkey
|
|
Debian:
|
|
- redis-server
|
|
Ubuntu:
|
|
- redis-server
|
|
openSUSE Leap:
|
|
- redis
|
|
Fedora:
|
|
- redis
|
|
CentOS:
|
|
- redis
|
|
FreeBSD:
|
|
- redis
|
|
|
|
redis_user:
|
|
Alpine: redis
|
|
Archlinux: valkey
|
|
Debian: redis
|
|
Ubuntu: redis
|
|
openSUSE Leap: redis
|
|
Fedora: "{{ '998' if ansible_distribution_major_version is version('41', '>=') else '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/{{ 'valkey-server' if ansible_distribution_major_version is version('41', '>=') else '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
|