- 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