sync roles with changes from OWS

This commit is contained in:
Oli
2023-10-21 13:13:20 +00:00
parent e14271eab0
commit ccd75528ed
43 changed files with 479 additions and 107 deletions

View File

@@ -4,11 +4,10 @@
name: redis
state: present
- name: Copy redis config
template:
src: redis.conf.j2
dest: /etc/redis/redis.conf
owner: redis
group: redis
mode: "0640"
- name: Configure redis
lineinfile:
path: /etc/redis/redis.conf
regexp: '^#?{{ item.option }} .*'
line: '{{ item.option }} {{ item.value }}'
loop: "{{ redis_options }}"
notify: Restart redis