aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-08-31 13:16:12 +0100
committerGravatar Joe Banks <[email protected]>2024-08-31 13:16:12 +0100
commitbc9e7ee78f65f62e0640dbf524bee4f9ecd5666a (patch)
tree456d790dbf771291ec67eb27906fc48a89e4fb81
parentUse --unsafe in check-yaml pre-commit filter (diff)
Explicitly set become: true on DMARC sieve compilation handler
-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