diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-09-15 20:39:22 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-09-15 20:39:22 +0200 |
commit | a9ae6e7d0731f19cf5d01a429a5b5b5b2e7e5d04 (patch) | |
tree | 2a81e4f7d482c688a015eb7e96b5be8b16ed7886 /roles/apt-repo/base/templates/Debian.list.j2 | |
parent | add constructed inventory (diff) |
improve handling of apt-repo providers
Diffstat (limited to 'roles/apt-repo/base/templates/Debian.list.j2')
-rw-r--r-- | roles/apt-repo/base/templates/Debian.list.j2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/apt-repo/base/templates/Debian.list.j2 b/roles/apt-repo/base/templates/Debian.list.j2 index 44b4abdd..a3cfae8a 100644 --- a/roles/apt-repo/base/templates/Debian.list.j2 +++ b/roles/apt-repo/base/templates/Debian.list.j2 @@ -1,3 +1,3 @@ -deb http://{{ apt_repo_providers[apt_repo_provider].debian }}/debian {{ ansible_distribution_release }} {{ apt_repo_components | default(apt_repo_base_components.debian) | join(' ') }} -deb http://{{ apt_repo_providers[apt_repo_provider].debian }}/debian {{ ansible_distribution_release }}-updates {{ apt_repo_components | default(apt_repo_base_components.debian) | join(' ') }} -deb http://{{ apt_repo_providers[apt_repo_provider].debian }}/debian-security {{ ansible_distribution_release }}/updates {{ apt_repo_components | default(apt_repo_base_components.debian) | join(' ') }} +deb http://{{ apt_repo_providers[apt_repo_provider].debian.host }}{{ apt_repo_providers[apt_repo_provider].debian.path }} {{ ansible_distribution_release }} {{ apt_repo_components | default(apt_repo_base_components.debian) | join(' ') }} +deb http://{{ apt_repo_providers[apt_repo_provider].debian.host }}{{ apt_repo_providers[apt_repo_provider].debian.path }} {{ ansible_distribution_release }}-updates {{ apt_repo_components | default(apt_repo_base_components.debian) | join(' ') }} +deb http://{{ apt_repo_providers[apt_repo_provider].debian_security.host }}{{ apt_repo_providers[apt_repo_provider].debian_security.path }} {{ ansible_distribution_release }}/updates {{ apt_repo_components | default(apt_repo_base_components.debian) | join(' ') }} |