Skip to content

Commit

Permalink
Issue #84: Fix configuration directory mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Jul 31, 2024
1 parent 400cf60 commit 7677f6a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
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: 0750
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
@@ -1,5 +1,6 @@
---
__redis_package: redis-server
redis_daemon: redis-server
redis_conf_dir_mode: 02770
redis_conf_path: /etc/redis/redis.conf
redis_conf_mode: 0640
1 change: 1 addition & 0 deletions vars/RedHat.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
__redis_package: redis
redis_daemon: redis
redis_conf_dir_mode: 0750
redis_conf_path: /etc/redis/redis.conf
redis_conf_mode: 0644

0 comments on commit 7677f6a

Please sign in to comment.