From de6e4f7b2ebd79254dbee5e854130506c7666275 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 30 Jul 2024 18:11:13 +0200 Subject: [PATCH] 'ansible_distribution_major_version' must be 'ansible_distribution_version'. --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 51c3c64..49aa764 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,5 +1,5 @@ --- -ntp_service_install: "{% if ansible_distribution_major_version is version_compare('24.04', '<') %}true{% else %}false{% endif %}" +ntp_service_install: "{% if ansible_distribution_version is version_compare('24.04', '<') %}true{% else %}false{% endif %}" ntp_service_enabled: '{{ ntp_service_install }}' ntp_statistics_enabled: False