'ansible_distribution_major_version' must be 'ansible_distribution_version'.

This commit is contained in:
Andrea Dell'Amico 2024-07-30 18:11:13 +02:00
parent 9af2473a5e
commit de6e4f7b2e
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 1 additions and 1 deletions

View File

@ -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_service_enabled: '{{ ntp_service_install }}'
ntp_statistics_enabled: False ntp_statistics_enabled: False