aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/opendmarc-inbox/handlers/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/opendmarc-inbox/handlers/main.yml b/ansible/roles/opendmarc-inbox/handlers/main.yml
index 8b2b7f6..f2a66b5 100644
--- a/ansible/roles/opendmarc-inbox/handlers/main.yml
+++ b/ansible/roles/opendmarc-inbox/handlers/main.yml
@@ -1,5 +1,6 @@
---
- name: Compile DMARC Sieve script
+ become: true
become_user: "{{ opendmarc_inbox_username }}"
command: "sievec /var/vmail/{{ opendmarc_inbox_username }}/.dovecot.sieve"
changed_when: true