Use debian_version custom fact

This commit is contained in:
2023-09-01 15:42:29 -04:00
parent 08f923d29c
commit 017e1405ed
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="PVC Parallel Virtual Cluster - Debian"
{% if ansible_distribution_major_version|int >= 11 %}
{% if debian_version|int >= 11 %}
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=1 {{ grub_cmdline }}"
{% else %}
GRUB_CMDLINE_LINUX="{{ grub_cmdline }}"