aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt_repo/templates
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-03-18 09:57:43 +0100
committerEgor Tensin <egor@tensin.name>2024-03-18 10:04:46 +0100
commitce47b0d808da622294cee92107564f8a1ae94c1b (patch)
treec4ae4350ac88a386bb0236013572ee46bb868305 /roles/apt_repo/templates
parentapt_repo: apt_repo_distro -> apt_repo_codename (diff)
downloadinfra-ansible-ce47b0d808da622294cee92107564f8a1ae94c1b.tar.gz
infra-ansible-ce47b0d808da622294cee92107564f8a1ae94c1b.zip
apt_repo: append distribution by default
Diffstat (limited to '')
-rw-r--r--roles/apt_repo/templates/repo.list.j22
1 files changed, 1 insertions, 1 deletions
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 }}