summaryrefslogtreecommitdiff
path: root/roles/installer/debian/fetch/vars/main.yml
blob: b703513ede99729a2a57c06bd7cd29938edabb5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
debian_installer_base_url: "{{ debian_installer_url[debian_installer_distro] }}/dists/{{ [debian_installer_distro, debian_installer_codename] | di_dists_path }}/main/installer-{{ debian_installer_arch }}/current/{{ [debian_installer_distro, debian_installer_codename] | di_images_path }}"

_debian_installer_variant_path_:
  netboot: "netboot/{{ (debian_installer_distro == 'ubuntu') | ternary('ubuntu', 'debian') }}-installer/{{ debian_installer_arch }}"
  hd-media: "hd-media"
  mini-iso: "netboot"

_debian_installer_kernel_image_:
  netboot: linux
  hd-media: vmlinuz
  mini-iso: linux

_debian_installer_variant_files_:
  netboot:
  - "{{ _debian_installer_kernel_image_['netboot'] }}"
  - initrd.gz
  hd-media:
  - "{{ _debian_installer_kernel_image_['hd-media'] }}"
  - initrd.gz
  mini-iso:
  - mini.iso

debian_installer_variant_path: "{{ _debian_installer_variant_path_[debian_installer_variant] }}"
debian_installer_kernel_image: "{{ _debian_installer_kernel_image_[debian_installer_variant] }}"
debian_installer_variant_files: "{{ _debian_installer_variant_files_[debian_installer_variant] }}"