bookworm-detect: detect also from description
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |4860|7|4853|14|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/217//ansiblelint">Evolix » ansible-roles » unstable #217</a>
gitea/ansible-roles/pipeline/head This commit looks good

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"