fix templating with blockinline and include within redis.conf

This commit is contained in:
ace
2021-11-16 13:42:55 +03:00
parent b05fb8a3f7
commit c020c98f27
12 changed files with 141 additions and 57 deletions

16
handlers/main.yaml Normal file
View File

@ -0,0 +1,16 @@
---
- name: Restart redis
throttle: 1
ansible.builtin.systemd:
state: restarted
daemon_reload: yes
name: redis-server
when: start_redis is not changed
- name: Restart redis-sentinel
throttle: 1
ansible.builtin.systemd:
state: restarted
daemon_reload: yes
name: redis-sentinel
when: start_redis_sentinel is not changed