self-hosting/playbook_mailserver.yml

22 lines
483 B
YAML

---
# This is taken from https://workaround.org/ispmail-bookworm/, thanks!
- name: Install mail server
gather_facts: true
hosts: mailservers
roles:
- role: common_handlers
tags: always
- role: common
tags: common
- role: add_cert
tags: cert
- role: mailserver_database
tags: database
- role: mailserver_postfix
tags: postfix
- role: mailserver_dovecot
tags: dovecot
- role: mailserver_rspamd
tags: rspamd