--- - 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