aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mailserver/tasks/postfix.yml
blob: a36acd678f1158c119195ae364e362e8eff46881 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- name: Install Postfix and related packages
  apt: pkg={{ item }} state=installed
  with_items:
    - libsasl2-modules
    - postfix
    - postfix-pcre
    - sasl2-bin
  tags:
    - dependencies

#- name: Copy main.cf
#  template: src=etc_postfix_main.cf.j2 dest=/etc/postfix/main.cf owner=root group=root
#  notify: restart postfix

#- name: Copy master.cf
#  copy: src=etc_postfix_master.cf dest=/etc/postfix/master.cf owner=root group=root
#  notify: restart postfix