Browse Source

redis: socket/pid directories have the correct permissions

pull/124/head
Jérémy Lecour 1 month ago
committed by Jérémy Lecour
parent
commit
5582d6e724
  1. 2
      CHANGELOG.md
  2. 16
      redis/tasks/instance-server.yml

2
CHANGELOG.md

@ -36,7 +36,7 @@ The **patch** part changes incrementally at each release.
### Fixed
* bind9: added log files to apparmor definition so bind can run
* redis: socket/pid directories have the correct permissions
### Removed

16
redis/tasks/instance-server.yml

@ -70,10 +70,10 @@
tags:
- redis
- name: "Instance '{{ redis_instance_name }}' other directories are present"
- name: "Instance '{{ redis_instance_name }}' socket/pid directories are present"
file:
dest: "{{ item }}"
mode: "0750"
mode: "0755"
owner: "redis-{{ redis_instance_name }}"
group: "redis-{{ redis_instance_name }}"
follow: yes
@ -81,6 +81,18 @@
with_items:
- "{{ redis_pid_dir }}"
- "{{ redis_socket_dir }}"
tags:
- redis
- name: "Instance '{{ redis_instance_name }}' data/log directories are present"
file:
dest: "{{ item }}"
mode: "0750"
owner: "redis-{{ redis_instance_name }}"
group: "redis-{{ redis_instance_name }}"
follow: yes
state: directory
with_items:
- "{{ redis_data_dir }}"
- "{{ redis_log_dir }}"
tags:

Loading…
Cancel
Save