configpolicy/roles/postfix/handlers/main.yml

15 lines
410 B
YAML

- name: rehash postfix sasl passwd table
command: postmap /etc/postfix/sasl_passwd
- name: rehash postfix recipient canonical map
command: postmap /etc/postfix/recipient_canonical
- name: restart postfix
service:
name=postfix
state=restarted
- name: reload postfix
service:
name=postfix
state=reloaded
- name: save firewalld configuration
command: firewall-cmd --runtime-to-permanent