Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainSifff authored Aug 9, 2024
2 parents fe6f5ca + 7677f6a commit d309284
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 11 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'geerlingguy.redis'

- name: Set up Python 3.
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand All @@ -41,17 +41,18 @@ jobs:
strategy:
matrix:
distro:
- rockylinux8
- ubuntu2004
- ubuntu2404
- debian12
- rockylinux9

steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'geerlingguy.redis'

- name: Set up Python 3.
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'geerlingguy.redis'

- name: Set up Python 3.
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ansible Role: Redis

[![CI](https://github.com/geerlingguy/ansible-role-redis/workflows/CI/badge.svg?event=push)](https://github.com/geerlingguy/ansible-role-redis/actions?query=workflow%3ACI)
[![CI](https://github.com/geerlingguy/ansible-role-php-redis/actions/workflows/ci.yml/badge.svg)](https://github.com/geerlingguy/ansible-role-php-redis/actions/workflows/ci.yml)

Installs [Redis](http://redis.io/) on Linux.

Expand Down
4 changes: 3 additions & 1 deletion molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
role_name_check: 1
dependency:
name: galaxy
options:
ignore-errors: true
driver:
name: docker
platforms:
- name: instance
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
image: "geerlingguy/docker-${MOLECULE_DISTRO:-rockylinux9}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
file:
path: "{{ redis_conf_path | dirname }}"
state: directory
mode: 0755
mode: "{{ redis_conf_dir_mode }}"

- name: Ensure Redis is configured.
template:
Expand Down
1 change: 1 addition & 0 deletions vars/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
__redis_package: redis-server
redis_daemon: redis-server
redis_pidfile: /var/run/redis/{{ redis_daemon }}.pid
redis_conf_dir_mode: 02770
redis_conf_path: /etc/redis/redis.conf
redis_conf_mode: 0640
2 changes: 2 additions & 0 deletions vars/RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ __redis_package: redis
redis_daemon: redis
redis_pidfile: /var/run/redis/{{ redis_daemon }}.pid
redis_conf_path: /etc/redis.conf
redis_conf_dir_mode: 0750
redis_conf_path: /etc/redis/redis.conf

Check failure on line 7 in vars/RedHat.yml

View workflow job for this annotation

GitHub Actions / Lint

7:1 [key-duplicates] duplication of key "redis_conf_path" in mapping
redis_conf_mode: 0644

0 comments on commit d309284

Please sign in to comment.