From 8e1f45e5e68e1cc54b258b791e84afe902ffd561 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sat, 16 May 2020 01:35:37 +0200 Subject: Nextcloud: Minor redis-server config tweak. --- roles/nextcloud/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/nextcloud') diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml index 8878987..ed898f9 100644 --- a/roles/nextcloud/tasks/main.yml +++ b/roles/nextcloud/tasks/main.yml @@ -162,14 +162,14 @@ - name: Configure Redis lineinfile: dest=/etc/redis/redis.conf - regexp='^#?{{ item.var }}\\s+' + regexp='^#?\\s*{{ item.var }}\\s+' line="{{ item.var }} {{ item.value }}" owner=redis group=redis mode=0640 with_items: - { var: port, value: 0 } - { var: unixsocket, value: /run/redis/redis-server.sock } - - { var: unixsocketperm, value: 770 } + - { var: unixsocketperm, value: 660 } notify: - Restart Redis -- cgit v1.2.3