Add conditionals to disable tasks dor intenal mail servers

This commit is contained in:
phil 2023-04-19 15:14:03 +02:00
parent df43829b66
commit 5d6c3e0f77
4 changed files with 6 additions and 1 deletions

View file

@ -27,6 +27,7 @@
- name: TLS-helper
ansible.builtin.import_tasks: tls-helper.yml
tags: tls-helper
when: postfix_type == "internet"
- name: MTA-STS
ansible.builtin.include_tasks: mta-sts.yml
@ -40,6 +41,7 @@
- name: Hostname
ansible.builtin.import_tasks: hostname.yml
tags: hostname
when: postfix_type == "internet"
- name: Monitoring
ansible.builtin.import_tasks: monitoring.yml