Add postfix role
This commit is contained in:
13
roles/postfix/handlers/main.yaml
Normal file
13
roles/postfix/handlers/main.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
- name: "postmap sasl_passwd"
|
||||
command: "postmap hash:{{ postfix_sasl_passwd_map_path }}"
|
||||
|
||||
- name: reload postfix
|
||||
service:
|
||||
name: "{{ postfix_service_name }}"
|
||||
state: reloaded
|
||||
|
||||
- name: restart postfix
|
||||
service:
|
||||
name: "{{ postfix_service_name }}"
|
||||
state: restarted
|
Reference in New Issue
Block a user