mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-25 13:40:17 +00:00
Adding dovecot and postfix configs
This commit is contained in:
33
roles/shell/tasks/dovecot.yml
Normal file
33
roles/shell/tasks/dovecot.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
# Configure dovecot
|
||||
---
|
||||
- name: Install dovecot.conf
|
||||
copy:
|
||||
src: ../files/etc/dovecot/dovecot.conf
|
||||
dest: /etc/dovecot/dovecot.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
|
||||
- name: Install dovecot 10-auth.conf
|
||||
copy:
|
||||
src: ../files/etc/dovecot/conf.d/10-auth.conf
|
||||
dest: /etc/dovecot/conf.d/10-auth.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
|
||||
- name: Install dovecot 10-mail.conf
|
||||
copy:
|
||||
src: ../files/etc/dovecot/conf.d/10-mail.conf
|
||||
dest: /etc/dovecot/conf.d/10-mail.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
|
||||
- name: Install dovecot 10-master.conf
|
||||
copy:
|
||||
src: ../files/etc/dovecot/conf.d/10-master.conf
|
||||
dest: /etc/dovecot/conf.d/10-master.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
@@ -9,3 +9,5 @@
|
||||
- include: bzflag.yml
|
||||
- include: minetest.yml
|
||||
- include: minecraft.yml
|
||||
- include: dovecot.yml
|
||||
- include: postfix.yml
|
||||
|
||||
9
roles/shell/tasks/postfix.yml
Normal file
9
roles/shell/tasks/postfix.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
# Configure postfix
|
||||
---
|
||||
- name: Install postix main.cf
|
||||
copy:
|
||||
src: ../files/etc/postfix/main.cf
|
||||
dest: /etc/postfix/main.cf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
Reference in New Issue
Block a user