#!/usr/bin/ansible-playbook # vim:ft=ansible: --- - name: Set up Postfix block: - name: Install Postfix apt: name: - postfix - name: Install config template: src: "main.cf" dest: "/etc/postfix/main.cf" become: yes