Fix right for redis log dir and log file
continuous-integration/drone/push Build is failing Details

pull/139/head
Eric Morino 1 year ago
parent e4bb0c6f55
commit 4fb885a33b

@ -87,7 +87,7 @@
- name: "Instance '{{ redis_instance_name }}' data/log directories are present"
file:
dest: "{{ item }}"
mode: "0750"
mode: "0751"
owner: "redis-{{ redis_instance_name }}"
group: "redis-{{ redis_instance_name }}"
follow: yes
@ -98,6 +98,17 @@
tags:
- redis
- name: "Instance '{{ redis_instance_name }}' log file are present"
file:
path: "{{ redis_log_dir }}/redis-server.log"
mode: "660"
owner: "redis-{{ redis_instance_name }}"
group: "adm"
state: touch
tags:
- redis
- name: "Instance '{{ redis_instance_name }}' configuration file is present"
template:
src: redis.conf.j2

Loading…
Cancel
Save