initial commit

This commit is contained in:
Farhad Shahbazi
2016-03-05 16:30:21 +01:00
parent 879fdc14b4
commit acc8f15e9e
18 changed files with 679 additions and 0 deletions

13
tasks/postfix.yml Normal file
View File

@@ -0,0 +1,13 @@
---
- 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']