Browse Source

postfix reload handler

master
parent
commit
a7681c5c70
3 changed files with 6 additions and 0 deletions
  1. +4
    -0
      handlers/main.yml
  2. +1
    -0
      tasks/main.yml
  3. +1
    -0
      tasks/postfixadmin.yml

+ 4
- 0
handlers/main.yml View File

@@ -0,0 +1,4 @@
- name: reload postfix
service:
name: postfix
state: reloaded

+ 1
- 0
tasks/main.yml View File

@@ -11,6 +11,7 @@
template:
src: main.cf.j2
dest: /etc/postfix/main.cf
notify: reload postfix

- include: postfixadmin.yml



+ 1
- 0
tasks/postfixadmin.yml View File

@@ -21,6 +21,7 @@
- mysql_virtual_alias_domain_mailbox_maps.cf
- mysql_virtual_alias_maps.cf
- mysql_virtual_mailbox_limit_maps.cf
notify: reload postfix

- name: postfixadmin mysql user
mysql_user:


Loading…
Cancel
Save