From 5ad4b97066a55a6ce62033eee3a149ea68a797ea Mon Sep 17 00:00:00 2001 From: Clement Beaujoin Date: Mon, 3 Nov 2025 15:37:07 +0100 Subject: [PATCH] fix issue #403 Repos role doesn't have version-specific logic for different Debian versions --- roles/repos/tasks/debian.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/repos/tasks/debian.yml b/roles/repos/tasks/debian.yml index a25effbb..a1443ab1 100644 --- a/roles/repos/tasks/debian.yml +++ b/roles/repos/tasks/debian.yml @@ -10,6 +10,7 @@ ansible.builtin.apt_key: url: "{{ elasticstack_repo_key }}" state: absent + when: ansible_distribution_major_version <= "12" - name: Ensure Elastic Stack key is available (Debian) ansible.builtin.get_url: