summaryrefslogtreecommitdiffstats
path: root/roles/nextcloud/tasks
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-05-16 01:35:37 +0200
committerGuilhem Moulin <guilhem@fripost.org>2020-05-16 01:35:37 +0200
commit8e1f45e5e68e1cc54b258b791e84afe902ffd561 (patch)
tree2e7171dd2119980499fa961fcb5d390f21b44841 /roles/nextcloud/tasks
parente43ef0c7b9490ece68af38f8a658ad8a710e4e37 (diff)
Nextcloud: Minor redis-server config tweak.
Diffstat (limited to 'roles/nextcloud/tasks')
-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