Files
ansible-role-common/tasks/postfix.yml
Farhad Shahbazi acc8f15e9e initial commit
2016-03-05 16:30:21 +01:00

14 lines
321 B
YAML

---
- name: install postfix
apt: name="postfix" state=present
tags: ['common', 'postfix']
- name: postfix config
template: dest="/etc/postfix/{{ item }}" src="postfix/{{ item }}.j2" owner=root group=root mode=0644
with_items:
- main.cf
- master.cf
notify: restart mailer
tags: ['common', 'postfix']