Set the 'daemon_directory' on RH based systems only.

This commit is contained in:
Andrea Dell'Amico 2020-07-18 18:04:53 +02:00
parent 352d74d22d
commit c749244c69
1 changed files with 2 additions and 0 deletions

View File

@ -15,7 +15,9 @@ soft_bounce = no
queue_directory = /var/spool/postfix queue_directory = /var/spool/postfix
command_directory = /usr/sbin command_directory = /usr/sbin
{% if ansible_distribution_file_variety == "RedHat" %}
daemon_directory = /usr/libexec/postfix daemon_directory = /usr/libexec/postfix
{% endif %}
data_directory = /var/lib/postfix data_directory = /var/lib/postfix
mail_owner = postfix mail_owner = postfix