add basic files for postfix setup for fedocal
This commit is contained in:
parent
560da6785d
commit
d0ccc3e64e
3 changed files with 705 additions and 0 deletions
17
tasks/postfix_basic.yml
Normal file
17
tasks/postfix_basic.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
- name: install postfix
|
||||
action: yum pkg=postfix state=installed
|
||||
|
||||
- name: /etc/postfix/main.cf
|
||||
action: copy src=$item dest=/etc/postfix/main.cf
|
||||
first_available_file:
|
||||
- $postfix_maincf
|
||||
- $files/postfix/main.cf.${ansible_fqdn}
|
||||
- $files/postfix/main.cf.${host_group}
|
||||
- $files/postfix/main.cf.${postfix_group}
|
||||
- $files/postfix/main.cf
|
||||
notify:
|
||||
- restart postifx
|
||||
tags:
|
||||
- postfix
|
||||
- config
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue