--- - name: slow transport is defined in master.cf lineinfile: dest: /etc/postfix/master.cf regexp: "^slow " line: "slow unix - - n - - smtp" notify: restart postfix tags: - postfix - name: list of providers for slow transport lineinfile: dest: /etc/postfix/transport line: "{{ item }}" create: yes with_items: - "orange.fr slow:" - "wanadoo.fr slow:" - "voila.fr slow:" - "laposte slow:" - "yahoo.fr slow:" - "yahoo.com slow:" - "hotmail.fr slow:" - "hotmail.com slow:" notify: postmap transport tags: - postfix