add handlers, move shellscripts to /usr/local/bin

This commit is contained in:
psy 2021-02-10 12:01:33 +01:00
parent d8ace47eea
commit 420bcb1b98
No known key found for this signature in database
GPG key ID: DFF5B17AC3A8ECF5
4 changed files with 31 additions and 35 deletions

View file

@ -1,2 +1,12 @@
- name: restart rspamd
service: name=rspamd state=restarted
- name: restart dovecot
service:
name: dovecot
state: restarted
- name: run sieve compiler
command:
cmd: /usr/bin/sievec /etc/dovecot/sieve/
chdir: /etc/dovecot/sieve/
# become: yes
# become_user: vmail