ansible/roles/rspamd/vars/main.yml

72 lines
1.6 KiB
YAML
Raw Normal View History

---
rspamd_log_size: '32m'
rspamd_log_mode: '750'
rspamd_log_uid: '20000'
rspamd_log_gid: '20000'
rspamd_service_dirs:
- rspamd
- rspamd/env
- rspamd/data
- rspamd-log
- rspamd-log/env
rspamd_service_scripts:
- rspamd/run
- rspamd/finish
- rspamd/data/check
- rspamd-log/run
- rspamd-log/finish
rspamd_service_config:
- name: rspamd/type
content: longrun
- name: rspamd/producer-for
content: rspamd-log
- name: rspamd/notification-fd
content: 3
- name: rspamd/env/NAME
content: rspamd
- name: rspamd/env/PATH
content: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
- name: rspamd/env/SOCK
content: /var/run/rspamd/normal.sock
- name: rspamd/dependencies
content: |
unbound
redis-bayes
redis-fuzzy
redis-other
- name: rspamd-log/type
content: longrun
- name: rspamd-log/notification-fd
content: 3
- name: rspamd-log/consumer-for
content: rspamd
- name: rspamd-log/env/NAME
content: rspamd
- name: rspamd-log/env/PATH
content: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
- name: rspamd-log/env/MODE
content: '750'
- name: rspamd-log/env/USER
content: s6-log
- name: rspamd-log/env/GROUP
content: s6-log
- name: rspamd-log/env/DIR
content: /var/log/rspamd
rspamd_config:
- override.d/logging.inc
- override.d/worker-normal.inc
- override.d/worker-controller.inc
- override.d/worker-fuzzy.inc
- override.d/worker-proxy.inc
- local.d/redis.conf
- local.d/options.inc
- local.d/classifier-bayes.conf
- local.d/composites.conf
- local.d/fann_redis.conf