2023-03-20 20:01:04 +01:00
|
|
|
---
|
|
|
|
- name: Packages
|
|
|
|
ansible.builtin.import_tasks: packages.yml
|
|
|
|
tags: packages
|
|
|
|
|
|
|
|
- name: Postfix
|
|
|
|
ansible.builtin.import_tasks: postfix.yml
|
|
|
|
tags: postfix
|
|
|
|
|
2023-03-24 14:56:37 +01:00
|
|
|
- name: Domains
|
|
|
|
ansible.builtin.import_tasks: domains.yml
|
|
|
|
tags: domains
|
|
|
|
|
|
|
|
- name: Aliases
|
|
|
|
ansible.builtin.import_tasks: aliases.yml
|
|
|
|
tags: aliases
|
2023-03-24 13:19:22 +01:00
|
|
|
|
2023-03-20 20:01:04 +01:00
|
|
|
- name: OnionMX
|
|
|
|
ansible.builtin.import_tasks: onionmx.yml
|
|
|
|
tags: onionmx
|
|
|
|
when: postfix_onionmx is defined and postfix_onionmx
|
|
|
|
|
|
|
|
- name: TLS-helper
|
|
|
|
ansible.builtin.import_tasks: tls-helper.yml
|
|
|
|
tags: tls-helper
|
2023-04-19 15:14:03 +02:00
|
|
|
when: postfix_type == "internet"
|
2023-03-20 20:01:04 +01:00
|
|
|
|
2023-04-17 22:11:40 +02:00
|
|
|
- name: MTA-STS
|
2023-04-17 23:17:22 +02:00
|
|
|
ansible.builtin.include_tasks: mta-sts.yml
|
2023-04-17 22:11:40 +02:00
|
|
|
tags: mta-sts
|
|
|
|
loop: "{{ postfix_domains }}"
|
2023-05-03 10:07:29 +02:00
|
|
|
when:
|
|
|
|
- postfix_domains is defined
|
|
|
|
- postfix_type == "internet"
|
2023-04-18 00:08:33 +02:00
|
|
|
args:
|
|
|
|
apply:
|
|
|
|
delegate_to: "{{ gateway_host }}"
|
2023-04-17 22:11:40 +02:00
|
|
|
|
2023-03-20 20:01:04 +01:00
|
|
|
- name: Hostname
|
|
|
|
ansible.builtin.import_tasks: hostname.yml
|
|
|
|
tags: hostname
|
2023-04-19 15:14:03 +02:00
|
|
|
when: postfix_type == "internet"
|
2023-03-20 20:01:04 +01:00
|
|
|
|
2023-09-23 08:19:13 +02:00
|
|
|
- name: Logging
|
2023-11-03 22:18:02 +01:00
|
|
|
ansible.builtin.import_tasks: logging.yml
|
2023-09-23 08:19:13 +02:00
|
|
|
tags: logging
|
|
|
|
when: postfix_type == "internet"
|