aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt_repo
diff options
context:
space:
mode:
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 }}