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
|
ansible.builtin.include_tasks: mta-sts.yml
|
||||||
tags: mta-sts
|
tags: mta-sts
|
||||||
loop: "{{ postfix_domains }}"
|
loop: "{{ postfix_domains }}"
|
||||||
when: postfix_domains is defined
|
when:
|
||||||
|
- postfix_domains is defined
|
||||||
|
- postfix_type == "internet"
|
||||||
args:
|
args:
|
||||||
apply:
|
apply:
|
||||||
delegate_to: "{{ gateway_host }}"
|
delegate_to: "{{ gateway_host }}"
|
||||||
|
|
Loading…
Reference in a new issue