'ansible_distribution_major_version' must be 'ansible_distribution_version'.
This commit is contained in:
parent
9af2473a5e
commit
de6e4f7b2e
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue