From ce47b0d808da622294cee92107564f8a1ae94c1b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 18 Mar 2024 09:57:43 +0100 Subject: apt_repo: append distribution by default --- roles/apt_repo/templates/repo.list.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/apt_repo/templates/repo.list.j2') diff --git a/roles/apt_repo/templates/repo.list.j2 b/roles/apt_repo/templates/repo.list.j2 index 6bb03b7..8a50ca7 100644 --- a/roles/apt_repo/templates/repo.list.j2 +++ b/roles/apt_repo/templates/repo.list.j2 @@ -1,3 +1,3 @@ {{ ansible_managed | comment }} -deb [signed-by={{ apt_repo_key_path }}] {{ apt_repo_url }} {{ apt_repo_codename | default(ansible_distribution_release) }} {{ apt_repo_component }} +deb [signed-by={{ apt_repo_key_path }}] {{ apt_repo_url }}{{ apt_repo_append_distro | ternary(ansible_distribution | lower, "") }} {{ apt_repo_codename | default(ansible_distribution_release) }} {{ apt_repo_component }} -- cgit v1.2.3