Redis-Tasks

This commit is contained in:
phil 2020-12-03 22:54:55 +00:00
parent 78307df9e0
commit c53b9af64e
6 changed files with 42 additions and 8 deletions

13
tasks/redis.yml Normal file
View file

@ -0,0 +1,13 @@
---
- name: "Redis Aktiviere Socket"
lineinfile:
path: /etc/redis/redis.conf
regexp: '^# unixsocket /var/run/redis/redis-server.sock'
line: 'unixsocket /var/run/redis/redis-server.sock'
- name: "Redis Berechtigungen"
lineinfile:
path: /etc/redis/redis.conf
regexp: '^# unixsocketperm 700'
line: 'unixsocketperm 770'