summaryrefslogtreecommitdiff
path: root/roles/mail/rspamd/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mail/rspamd/tasks/main.yml')
-rw-r--r--roles/mail/rspamd/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/mail/rspamd/tasks/main.yml b/roles/mail/rspamd/tasks/main.yml
index 503c3669..1397e35d 100644
--- a/roles/mail/rspamd/tasks/main.yml
+++ b/roles/mail/rspamd/tasks/main.yml
@@ -78,6 +78,8 @@
# ansible generated
{{ item.value }}
dest: /etc/rspamd/local.d/{{ item.key }}.conf
+ mode: 0400
+ owner: _rspamd
notify: reload rspamd
- name: generate override config files
@@ -89,4 +91,6 @@
# ansible generated
{{ item.value }}
dest: /etc/rspamd/override.d/{{ item.key }}.conf
+ mode: 0400
+ owner: _rspamd
notify: reload rspamd