rspamd requires Redis server.
This commit is contained in:
parent
46549c6863
commit
496226815d
|
@ -12,6 +12,10 @@ rspamd:
|
||||||
- name: rspamd
|
- name: rspamd
|
||||||
- fromrepo: bullseye
|
- fromrepo: bullseye
|
||||||
|
|
||||||
|
redis_server:
|
||||||
|
pkg.installed:
|
||||||
|
- name: redis-server
|
||||||
|
|
||||||
rspamd_conf:
|
rspamd_conf:
|
||||||
file.recurse:
|
file.recurse:
|
||||||
- name: /etc/rspamd/local.d
|
- name: /etc/rspamd/local.d
|
||||||
|
@ -26,3 +30,10 @@ rspamd_service:
|
||||||
- watch:
|
- watch:
|
||||||
- pkg: rspamd
|
- pkg: rspamd
|
||||||
- file: /etc/rspamd/local.d
|
- file: /etc/rspamd/local.d
|
||||||
|
|
||||||
|
redis_service:
|
||||||
|
service.running:
|
||||||
|
- name: redis-server
|
||||||
|
- enable: true
|
||||||
|
- watch:
|
||||||
|
- pkg: redis-server
|
||||||
|
|
Loading…
Reference in New Issue