瀏覽代碼

dovecot reload handler

master
父節點
當前提交
2e76129e3b
共有 2 個檔案被更改,包括 8 行新增0 行删除
  1. +4
    -0
      handlers/main.yml
  2. +4
    -0
      tasks/main.yml

+ 4
- 0
handlers/main.yml 查看文件

@@ -0,0 +1,4 @@
- name: reload dovecot
systemd:
name: dovecot
state: reloaded

+ 4
- 0
tasks/main.yml 查看文件

@@ -11,6 +11,8 @@
template:
src: dovecot.conf.j2
dest: /etc/dovecot/dovecot.conf
notify:
- reload dovecot

- name: dovecot configuration files
template:
@@ -18,6 +20,8 @@
dest: /etc/dovecot/conf.d/{{ item }}
with_items:
- 10-mail.conf
notify:
- reload dovecot

- name: configuration pull directory
local_action: file


Loading…
取消
儲存