This repository has been archived on 2021-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-server/roles/postfix/tasks/config.yml

14 lines
306 B
YAML
Raw Normal View History

2019-03-31 15:25:33 +02:00
---
- 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