self-hosting/playbook_mailserver.yml

22 lines
536 B
YAML
Raw Normal View History

2024-01-04 19:07:20 +01:00
---
# This is taken from https://workaround.org/ispmail-bookworm/, thanks!
- name: Install mail server
gather_facts: true
2024-01-05 18:36:05 +01:00
hosts: mailserver,mailserver-test
2024-01-04 19:07:20 +01:00
roles:
2024-01-05 18:58:27 +01:00
- role: common_handlers
tags: always
2024-01-05 18:48:37 +01:00
- role: deploy_certificate
vars:
server_admin: dns@tunuifranken.info
domain: "{{ ansible_hostname }}.tunuifranken.info"
2024-01-08 09:50:56 +01:00
tags: cert
- role: mailserver_database
tags: database
- role: mailserver_postfix
tags: postfix
2024-01-08 11:58:39 +01:00
- role: mailserver_dovecot
tags: dovecot