ansible/roles/shell/tasks/postfix.yml

21 lines
408 B
YAML
Raw Normal View History

2019-02-18 00:50:47 +00:00
# Configure postfix
---
- name: Install postix main.cf
copy:
src: ../files/etc/postfix/main.cf
dest: /etc/postfix/main.cf
owner: root
group: root
mode: 0644
2019-11-24 00:19:27 +00:00
notify: restart Postfix
# Deploy master.cf
- name: Deploy postfix conf
copy:
src: ../files/etc/postfix/master.cf
dest: /etc/postfix/master.cf
owner: root
group: root
mode: 0644
notify: restart Postfix