aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mailserver/tasks/postfix.yml
blob: 7b02cf474dc932116016abaeb0c56e83038b12c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- name: Install Postfix and related packages
  apt:
    state: present
    name:
      - 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