Set main.cf and restart
This commit is contained in:
parent
6f4204ebb0
commit
2a01d753ca
2 changed files with 56 additions and 4 deletions
|
@ -25,7 +25,12 @@
|
|||
name: postfix
|
||||
state: latest
|
||||
|
||||
#- name: Set postfix's main.cf
|
||||
# template:
|
||||
# src: main.cf.j2
|
||||
# dest: /etc/postfix/main.cf
|
||||
- name: Set postfix's main.cf
|
||||
template:
|
||||
src: main.cf.j2
|
||||
dest: /etc/postfix/main.cf
|
||||
|
||||
- name: Restart postfix
|
||||
service:
|
||||
name: postfix
|
||||
state: restarted
|
Loading…
Add table
Add a link
Reference in a new issue