From c397628b5dc3a14af0e2a9c5dc29bc49fd71b193 Mon Sep 17 00:00:00 2001 From: Adrien Date: Mon, 28 Dec 2020 20:42:18 +0100 Subject: [PATCH] Fix version test --- templates/etc/postfix/main.cf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/etc/postfix/main.cf.j2 b/templates/etc/postfix/main.cf.j2 index 6671cd3..e28a0f5 100644 --- a/templates/etc/postfix/main.cf.j2 +++ b/templates/etc/postfix/main.cf.j2 @@ -736,7 +736,7 @@ sample_directory = /usr/share/doc/postfix/samples # readme_directory: The location of the Postfix README files. # -{% if ansible_os_family == "RedHat" and ansible_distribution_major_version < '8' %} +{% if ansible_os_family == "RedHat" and ansible_distribution_major_version >= '8' %} readme_directory = /usr/share/doc/postfix/README_FILES # TLS CONFIGURATION