Make Mail-TLS-Helper optional

This commit is contained in:
phil 2024-01-14 10:42:47 +01:00
parent 7a2ff6c74a
commit 4ad48694d5
2 changed files with 5 additions and 2 deletions

View file

@ -23,7 +23,9 @@
- name: TLS-helper
ansible.builtin.import_tasks: tls-helper.yml
tags: tls-helper
when: postfix_type == "internet"
when:
- postfix_type == "internet"
- postfix_tls_helper is defined and postfix_tls_helper
- name: MTA-STS
ansible.builtin.include_tasks: mta-sts.yml