restart rspamd after deploying config files

This commit is contained in:
psy 2021-02-05 13:32:15 +01:00
parent e31ddb9102
commit 46cb034e85
No known key found for this signature in database
GPG key ID: DFF5B17AC3A8ECF5
2 changed files with 4 additions and 0 deletions

2
handlers/main.yml Normal file
View file

@ -0,0 +1,2 @@
- name: restart rspamd
service: name=rspamd state=restarted

View file

@ -22,3 +22,5 @@
owner: _rspamd
lstrip_blocks: yes
loop: "{{ rspamd.local_configs | dict2items }}"
notify:
- restart rspamd