summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/nextcloud/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
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