summaryrefslogtreecommitdiff
path: root/roles/dovecot/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'roles/dovecot/handlers')
-rw-r--r--roles/dovecot/handlers/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/dovecot/handlers/main.yml b/roles/dovecot/handlers/main.yml
new file mode 100644
index 0000000..fba419a
--- /dev/null
+++ b/roles/dovecot/handlers/main.yml
@@ -0,0 +1,7 @@
+- name: Reload dovecot
+ ansible.builtin.service:
+ name: dovecot
+ state: reloaded
+
+- name: Check dovecot
+ ansible.builtin.command: doveconf > /dev/null