1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_rspamd.git synced 2024-08-16 17:09:51 +02:00

make redis and dkim optional

This commit is contained in:
L3D 2022-04-07 23:27:51 +02:00
parent dda1ef37b4
commit 99afda6dfb
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 6 additions and 0 deletions

View file

@ -9,6 +9,10 @@ rspamd__redis_server: '127.0.0.1'
rspamd__default_owner: '_rspamd'
rspamd__default_group: '_rspamd'
# configure options
rspamd__configure_redis: false
rspamd__configure_dkim: false
# rspamd config file path
rspamd__multimap_conf_file: 'files/multimap.conf'
rspamd__whitelist_ip_file: 'files/whitelist_ip.map'

View file

@ -11,6 +11,8 @@
- name: rspamd dkim signing
include_tasks: dkim.yml
when: rspamd__configure_dkim | bool
- name: redis backend
include_tasks: redis.yml
when: rspamd__configure_redis | bool