WIP: Setup of a mail server #9
2 changed files with 18 additions and 17 deletions
|
@ -5,11 +5,11 @@ certbot:
|
||||||
- smtp.auro.re
|
- smtp.auro.re
|
||||||
mail: tech.aurore@lists.crans.org
|
mail: tech.aurore@lists.crans.org
|
||||||
certname: auro.re
|
certname: auro.re
|
||||||
cert_path_prefix = "/etc/letsencrypt/live/{{ certbot.certname }}"
|
cert_path_prefix: "/etc/letsencrypt/live/{{ certbot.certname }}"
|
||||||
cert_path_cert = "{{ cerbot.cert_path_prefix }}/cert.pem"
|
cert_path_cert: "{{ cerbot.cert_path_prefix }}/cert.pem"
|
||||||
cert_path_chain = "{{ cerbot.cert_path_prefix }}/chain.pem"
|
cert_path_chain: "{{ cerbot.cert_path_prefix }}/chain.pem"
|
||||||
cert_path_fullchain = "{{ cerbot.cert_path_prefix }}/fullchain.pem"
|
cert_path_fullchain: "{{ cerbot.cert_path_prefix }}/fullchain.pem"
|
||||||
cert_path_privkey = "{{ cerbot.cert_path_prefix }}/privkey.pem"
|
cert_path_privkey: "{{ cerbot.cert_path_prefix }}/privkey.pem"
|
||||||
|
|
||||||
nfs:
|
nfs:
|
||||||
src: "10.128.0.6:/data_mail" # caradoc
|
src: "10.128.0.6:/data_mail" # caradoc
|
||||||
|
|
|
@ -6,8 +6,9 @@
|
||||||
- mail_utils
|
- mail_utils
|
||||||
- mail_certificates
|
- mail_certificates
|
||||||
- nfs_client
|
- nfs_client
|
||||||
- postfix
|
# - postfix
|
||||||
- dovecot
|
- dovecot
|
||||||
|
- re2o_service_mailserver
|
||||||
# - rspamd
|
# - rspamd
|
||||||
# - mail-fail2ban
|
# - mail-fail2ban
|
||||||
#
|
#
|
||||||
|
@ -17,14 +18,14 @@
|
||||||
|
|
||||||
|
|
||||||
# Deploy Re2o mail service
|
# Deploy Re2o mail service
|
||||||
- hosts: mail.auro.re
|
- hosts: mail.auro.re
|
||||||
vars:
|
vars:
|
||||||
service_repo: https://gitea.auro.re/aurore/re2o-mail-server.git
|
service_repo: https://gitea.auro.re/aurore/re2o-mail-server.git
|
||||||
service_name: mail-server
|
service_name: mail-server
|
||||||
service_version: aurore
|
service_version: aurore
|
||||||
service_config:
|
service_config:
|
||||||
hostname: re2o-test.adm.auro.re # use test instance for now, should be changed for prod!
|
hostname: re2o-test.adm.auro.re # use test instance for now, should be changed for prod!
|
||||||
username: service-user
|
username: service-user
|
||||||
password: "{{ vault_serviceuser_passwd }}"
|
password: "{{ vault_serviceuser_passwd }}"
|
||||||
roles:
|
roles:
|
||||||
- re2o-service
|
- re2o-service
|
||||||
|
|
Loading…
Reference in a new issue