14 lines
306 B
YAML
14 lines
306 B
YAML
---
|
|
- name: disable smptd
|
|
lineinfile:
|
|
path: /etc/postfix/master.cf
|
|
regexp: ^smtp inet n - y - - smtpd$
|
|
state: absent
|
|
notify: restart-postfix
|
|
|
|
- name: configure postfix
|
|
template:
|
|
src: main.cf
|
|
dest: /etc/postfix/main.cf
|
|
notify: restart-postfix
|