Add mailcow (only domains) to ansible

This commit is contained in:
Tobias Reisinger 2023-12-12 01:08:50 +01:00
parent 047c65b66a
commit c533d203a0
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 14 additions and 0 deletions

View file

@ -2,4 +2,5 @@
- name: Run roles for node001
hosts: node001
roles:
- mailcow
- minecraft-2

View file

@ -0,0 +1,7 @@
---
- name: Deploy {{ svc.name }}
tags:
- mailcow
- email
block:
- import_tasks: steps/template-site-config.yml

View file

@ -0,0 +1,6 @@
svc:
name: mailcow
domain: mail.serguzim.me
docker_host: host.docker.internal
port: 3004
additional_domains: "{{ ['autodiscover', 'autoconfig'] | product(vault_mailcow.domains) | map('join', '.') }}"