Add conditional for MTA-STS

This commit is contained in:
phil 2023-04-18 21:29:26 +02:00
parent ba8975d6be
commit d786e5ab09

View file

@ -32,6 +32,7 @@
ansible.builtin.include_tasks: mta-sts.yml ansible.builtin.include_tasks: mta-sts.yml
tags: mta-sts tags: mta-sts
loop: "{{ postfix_domains }}" loop: "{{ postfix_domains }}"
when: postfix_domains is defined
args: args:
apply: apply:
delegate_to: "{{ gateway_host }}" delegate_to: "{{ gateway_host }}"