2020-07-21 02:29:22 +02:00
|
|
|
---
|
|
|
|
- name: create vmail group
|
|
|
|
group:
|
|
|
|
name: vmail
|
|
|
|
gid: 5000
|
|
|
|
state: present
|
|
|
|
system: yes
|
|
|
|
|
|
|
|
- name: create vmail user
|
|
|
|
user:
|
|
|
|
name: vmail
|
|
|
|
uid: 5000
|
|
|
|
group: vmail
|
|
|
|
state: present
|
|
|
|
system: yes
|
|
|
|
shell: /usr/bin/nologin
|
|
|
|
home: /srv/mail
|
|
|
|
|
2020-07-20 09:46:16 +02:00
|
|
|
- name: Run userdatabase
|
|
|
|
import_tasks: db.yml
|
|
|
|
|
2020-07-22 19:51:50 +02:00
|
|
|
- name: Run postfixadmin
|
|
|
|
import_tasks: postfixadmin.yml
|
|
|
|
|
2020-07-20 09:46:16 +02:00
|
|
|
- name: Run dovecot
|
|
|
|
import_tasks: dovecot.yml
|
|
|
|
|
|
|
|
- name: Run rspamd
|
|
|
|
import_tasks: rspamd.yml
|
|
|
|
|
|
|
|
- name: Run mailman
|
|
|
|
import_tasks: mailman.yml
|
|
|
|
|
|
|
|
- name: Run postfix
|
|
|
|
import_tasks: postfix.yml
|
|
|
|
|