Run MTA-STS tasks only on selected hosts
This commit is contained in:
parent
36c2bc159a
commit
9f81479691
1 changed files with 3 additions and 1 deletions
|
@ -34,7 +34,9 @@
|
|||
ansible.builtin.include_tasks: mta-sts.yml
|
||||
tags: mta-sts
|
||||
loop: "{{ postfix_domains }}"
|
||||
when: postfix_domains is defined
|
||||
when:
|
||||
- postfix_domains is defined
|
||||
- postfix_type == "internet"
|
||||
args:
|
||||
apply:
|
||||
delegate_to: "{{ gateway_host }}"
|
||||
|
|
Loading…
Reference in a new issue