aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-03-18 09:50:04 +0100
committerEgor Tensin <egor@tensin.name>2024-03-18 09:50:04 +0100
commitb2c318a65d723973d01b7ad1468e9759d4ce83f7 (patch)
treef7e31173e131024bff84a9f0a97af4923fbaf97d /roles/apt
parentapt_repo: install apt-transport-https (diff)
downloadinfra-ansible-b2c318a65d723973d01b7ad1468e9759d4ce83f7.tar.gz
infra-ansible-b2c318a65d723973d01b7ad1468e9759d4ce83f7.zip
apt_repo: apt_repo_distro -> apt_repo_codename
Diffstat (limited to '')
-rw-r--r--roles/apt_repo/defaults/main.yml2
-rw-r--r--roles/apt_repo/templates/repo.list.j22
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/apt_repo/defaults/main.yml b/roles/apt_repo/defaults/main.yml
index f3bebfb..d4f4d2b 100644
--- a/roles/apt_repo/defaults/main.yml
+++ b/roles/apt_repo/defaults/main.yml
@@ -1,7 +1,7 @@
#apt_repo_name:
#apt_repo_url:
#apt_repo_key_url:
-#apt_repo_distro:
+#apt_repo_codename:
# This is a fairly common "component" part value in the repository file.
apt_repo_component: main
diff --git a/roles/apt_repo/templates/repo.list.j2 b/roles/apt_repo/templates/repo.list.j2
index d7c8138..6bb03b7 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_distro | default(ansible_distribution_release) }} {{ apt_repo_component }}
+deb [signed-by={{ apt_repo_key_path }}] {{ apt_repo_url }} {{ apt_repo_codename | default(ansible_distribution_release) }} {{ apt_repo_component }}