From b2c318a65d723973d01b7ad1468e9759d4ce83f7 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 18 Mar 2024 09:50:04 +0100 Subject: apt_repo: apt_repo_distro -> apt_repo_codename --- roles/apt_repo/defaults/main.yml | 2 +- roles/apt_repo/templates/repo.list.j2 | 2 +- roles/ppa/tasks/main.yml | 2 +- 3 files changed, 3 insertions(+), 3 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 }} diff --git a/roles/ppa/tasks/main.yml b/roles/ppa/tasks/main.yml index 083acdd..a3c3312 100644 --- a/roles/ppa/tasks/main.yml +++ b/roles/ppa/tasks/main.yml @@ -23,4 +23,4 @@ apt_repo_name: '{{ ppa_name }}' apt_repo_key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x{{ ppa_key }}' apt_repo_url: 'https://ppa.launchpadcontent.net/{{ ppa_owner }}/{{ ppa_name }}/ubuntu' - apt_repo_distro: '{{ ppa_distro }}' + apt_repo_codename: '{{ ppa_distro }}' -- cgit v1.2.3