bookworm-detect: detect also from description

This commit is contained in:
Jérémy Lecour 2023-03-17 22:32:31 +01:00 committed by Jérémy Lecour
parent 9358efedfe
commit 512b06a513

View file

@ -8,4 +8,4 @@
ansible_distribution_major_version: 12
ansible_distribution: "Debian"
ansible_distribution_release: "bookworm"
when: "ansible_lsb.codename == 'bookworm'"
when: "'bookworm' in ansible_lsb.codename or 'bookworm' in ansible_lsb.description"