forked from ISTI-ansible-roles/ansible-roles
Set the compatibility level on Ubuntu 18.04.
This commit is contained in:
parent
5ca80e638a
commit
e27747426b
|
@ -766,4 +766,8 @@ smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
|
||||||
# Client
|
# Client
|
||||||
smtp_tls_security_level = {{ postfix_smtp_tls_security_level }}
|
smtp_tls_security_level = {{ postfix_smtp_tls_security_level }}
|
||||||
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
|
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
|
||||||
|
{% if ansible_distribution_file_variety == "Debian" %}
|
||||||
|
{% if ansible_distribution_version is version_compare('18.04', '>=') %}
|
||||||
|
compatibility_level=2
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue