aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt_repo/tasks
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-03-18 09:57:43 +0100
committerEgor Tensin <egor@tensin.name>2024-03-18 10:04:46 +0100
commitce47b0d808da622294cee92107564f8a1ae94c1b (patch)
treec4ae4350ac88a386bb0236013572ee46bb868305 /roles/apt_repo/tasks
parentapt_repo: apt_repo_distro -> apt_repo_codename (diff)
downloadinfra-ansible-ce47b0d808da622294cee92107564f8a1ae94c1b.tar.gz
infra-ansible-ce47b0d808da622294cee92107564f8a1ae94c1b.zip
apt_repo: append distribution by default
Diffstat (limited to 'roles/apt_repo/tasks')
-rw-r--r--roles/apt_repo/tasks/main.yml4
1 files changed, 3 insertions, 1 deletions
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