fix: Dovecot in Debian Trixie => 2.4 has add / deprecated configurations
All checks were successful
Molecule Tests / molecule-tests (pull_request) Successful in 7m18s
All checks were successful
Molecule Tests / molecule-tests (pull_request) Successful in 7m18s
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
# Dovecot mail location configuration
|
||||
# Ansible managed: {{ ansible_managed }}
|
||||
|
||||
{% if dovecot_major_version is defined and dovecot_major_version is version('2.4', '>=') %}
|
||||
{% set _driver = dovecot_mail_location.split(':')[0] %}
|
||||
{% set _path = dovecot_mail_location.split(':')[1] %}
|
||||
mail_driver = {{ _driver }}
|
||||
mail_path = {{ _path }}
|
||||
{% else %}
|
||||
mail_location = {{ dovecot_mail_location }}
|
||||
{% endif %}
|
||||
namespace inbox {
|
||||
inbox = yes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user