15 lines
272 B
YAML
15 lines
272 B
YAML
#!/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
|