summaryrefslogtreecommitdiff
path: root/roles/installer/debian/fetch
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-09-15 20:39:22 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-09-15 20:39:22 +0200
commita9ae6e7d0731f19cf5d01a429a5b5b5b2e7e5d04 (patch)
tree2a81e4f7d482c688a015eb7e96b5be8b16ed7886 /roles/installer/debian/fetch
parentadd constructed inventory (diff)
improve handling of apt-repo providers
Diffstat (limited to 'roles/installer/debian/fetch')
-rw-r--r--roles/installer/debian/fetch/defaults/main.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/roles/installer/debian/fetch/defaults/main.yml b/roles/installer/debian/fetch/defaults/main.yml
index eebc59bf..1b9f8206 100644
--- a/roles/installer/debian/fetch/defaults/main.yml
+++ b/roles/installer/debian/fetch/defaults/main.yml
@@ -6,7 +6,5 @@ debian_installer_arch: amd64
debian_installer_force_download: no
debian_installer_url:
-# debian: "https://debian.ffgraz.net/debian"
-# ubuntu: "https://debian.ffgraz.net/ubuntu"
- debian: "http://deb.debian.org/debian"
- ubuntu: "http://archive.ubuntu.com/ubuntu"
+ debian: "http://{{ apt_repo_providers[apt_repo_provider].debian.host }}{{ apt_repo_providers[apt_repo_provider].debian.path }}"
+ ubuntu: "http://{{ apt_repo_providers[apt_repo_provider].ubuntu.host }}{{ apt_repo_providers[apt_repo_provider].ubuntu.path }}"