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:
parent
dda1ef37b4
commit
99afda6dfb
2 changed files with 6 additions and 0 deletions
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue