From ce47b0d808da622294cee92107564f8a1ae94c1b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 18 Mar 2024 09:57:43 +0100 Subject: apt_repo: append distribution by default --- roles/apt_repo/tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'roles/apt_repo/tasks') diff --git a/roles/apt_repo/tasks/main.yml b/roles/apt_repo/tasks/main.yml index 83ce845..8cee575 100644 --- a/roles/apt_repo/tasks/main.yml +++ b/roles/apt_repo/tasks/main.yml @@ -25,7 +25,9 @@ - name: Get host distro ansible.builtin.setup: - gather_subset: [distribution_release] + gather_subset: + - distribution + - distribution_release # Not using the apt_repository module, since it _adds_ a new repository # in the .list file. That way, we can end up with an invalid repository -- cgit v1.2.3