rspamd requires Redis server.

This commit is contained in:
Jim Hague 2023-09-06 14:24:35 +01:00
parent 46549c6863
commit 496226815d
1 changed files with 11 additions and 0 deletions

View File

@ -12,6 +12,10 @@ rspamd:
- name: rspamd
- fromrepo: bullseye
redis_server:
pkg.installed:
- name: redis-server
rspamd_conf:
file.recurse:
- name: /etc/rspamd/local.d
@ -26,3 +30,10 @@ rspamd_service:
- watch:
- pkg: rspamd
- file: /etc/rspamd/local.d
redis_service:
service.running:
- name: redis-server
- enable: true
- watch:
- pkg: redis-server