45 lines
947 B
YAML
45 lines
947 B
YAML
---
|
|
- name: Packages
|
|
ansible.builtin.import_tasks: packages.yml
|
|
tags: packages
|
|
|
|
- name: Postfix
|
|
ansible.builtin.import_tasks: postfix.yml
|
|
tags: postfix
|
|
|
|
- name: Domains
|
|
ansible.builtin.import_tasks: domains.yml
|
|
tags: domains
|
|
|
|
- name: Aliases
|
|
ansible.builtin.import_tasks: aliases.yml
|
|
tags: aliases
|
|
|
|
- name: OnionMX
|
|
ansible.builtin.import_tasks: onionmx.yml
|
|
tags: onionmx
|
|
when: postfix_onionmx is defined and postfix_onionmx
|
|
|
|
- name: Fail2ban
|
|
ansible.builtin.import_tasks: fail2ban.yml
|
|
tags: fail2ban
|
|
|
|
- name: TLS-helper
|
|
ansible.builtin.import_tasks: tls-helper.yml
|
|
tags: tls-helper
|
|
|
|
- name: MTA-STS
|
|
ansible.builtin.include_tasks: mta-sts.yml
|
|
tags: mta-sts
|
|
loop: "{{ postfix_domains }}"
|
|
args:
|
|
apply:
|
|
delegate_to: "{{ gateway_host }}"
|
|
|
|
- name: Hostname
|
|
ansible.builtin.import_tasks: hostname.yml
|
|
tags: hostname
|
|
|
|
- name: Monitoring
|
|
ansible.builtin.import_tasks: monitoring.yml
|
|
tags: monitoring
|