diff options
author | Egor Tensin <egor@tensin.name> | 2024-03-18 09:57:43 +0100 |
---|---|---|
committer | Egor Tensin <egor@tensin.name> | 2024-03-18 10:04:46 +0100 |
commit | ce47b0d808da622294cee92107564f8a1ae94c1b (patch) | |
tree | c4ae4350ac88a386bb0236013572ee46bb868305 /roles/apt_repo/templates | |
parent | apt_repo: apt_repo_distro -> apt_repo_codename (diff) | |
download | infra-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.j2 | 2 |
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 }} |