Make Mail-TLS-Helper optional
This commit is contained in:
parent
7a2ff6c74a
commit
4ad48694d5
2 changed files with 5 additions and 2 deletions
|
@ -3,8 +3,8 @@ Postfix
|
||||||
|
|
||||||
Use this role to setup a Postfix mail server. It comes with the following additions:
|
Use this role to setup a Postfix mail server. It comes with the following additions:
|
||||||
- [Mail-TLS-Helper](https://github.com/systemli/mail-tls-helper)
|
- [Mail-TLS-Helper](https://github.com/systemli/mail-tls-helper)
|
||||||
- [MTA-STS-Resolver](https://github.com/Snawoot/postfix-mta-sts-resolver)
|
|
||||||
- Fail2ban
|
- Fail2ban
|
||||||
|
- optional: [MTA-STS-Resolver](https://github.com/Snawoot/postfix-mta-sts-resolver)
|
||||||
- optional: [OnionMX](https://github.com/ehloonion/onionmx)
|
- optional: [OnionMX](https://github.com/ehloonion/onionmx)
|
||||||
- optional: Unbound
|
- optional: Unbound
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ You can select via the variable `postfix_type` a pre-defined set of configuraion
|
||||||
|--|--|--|--|
|
|--|--|--|--|
|
||||||
| `unbound_install` | bool | | `True` if you whish to install unbound |
|
| `unbound_install` | bool | | `True` if you whish to install unbound |
|
||||||
| `postfix_onionmx` | bool | | `True` to setup OnionMX delivery |
|
| `postfix_onionmx` | bool | | `True` to setup OnionMX delivery |
|
||||||
|
| `postfix_tls_herlp` | bool | `True` to setup Mail-TLS-Helper |
|
||||||
| `postfix_mydestination` | List | | List with hostnames |
|
| `postfix_mydestination` | List | | List with hostnames |
|
||||||
| `postfix_mynetworks` | List | | List with network addresses |
|
| `postfix_mynetworks` | List | | List with network addresses |
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,9 @@
|
||||||
- name: TLS-helper
|
- name: TLS-helper
|
||||||
ansible.builtin.import_tasks: tls-helper.yml
|
ansible.builtin.import_tasks: tls-helper.yml
|
||||||
tags: tls-helper
|
tags: tls-helper
|
||||||
when: postfix_type == "internet"
|
when:
|
||||||
|
- postfix_type == "internet"
|
||||||
|
- postfix_tls_helper is defined and postfix_tls_helper
|
||||||
|
|
||||||
- name: MTA-STS
|
- name: MTA-STS
|
||||||
ansible.builtin.include_tasks: mta-sts.yml
|
ansible.builtin.include_tasks: mta-sts.yml
|
||||||
|
|
Loading…
Reference in a new issue