feat: adapt smtprelay role for external use

This commit is contained in:
VC
2024-07-05 11:53:34 +02:00
parent da2b1c1156
commit 3faef4717a
6 changed files with 37 additions and 3 deletions

View File

@@ -1,4 +1,8 @@
---
- name: Include stunnel on condition
ansible.builtin.include_tasks:
file: stunnel.yml
when: smtprelay_port not in [587]
- name: Install postfix smtp server
ansible.builtin.package: