From 512b06a51300c2a193f8c5cc9cde0aee71f837e3 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Fri, 17 Mar 2023 22:32:31 +0100 Subject: [PATCH] bookworm-detect: detect also from description --- bookworm-detect/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookworm-detect/tasks/main.yml b/bookworm-detect/tasks/main.yml index 47dfd623..be11177e 100644 --- a/bookworm-detect/tasks/main.yml +++ b/bookworm-detect/tasks/main.yml @@ -8,4 +8,4 @@ ansible_distribution_major_version: 12 ansible_distribution: "Debian" ansible_distribution_release: "bookworm" - when: "ansible_lsb.codename == 'bookworm'" \ No newline at end of file + when: "'bookworm' in ansible_lsb.codename or 'bookworm' in ansible_lsb.description" \ No newline at end of file