initial commit
This commit is contained in:
13
tasks/postfix.yml
Normal file
13
tasks/postfix.yml
Normal 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']
|
||||
Reference in New Issue
Block a user