mirror of
https://github.com/inofix/common-playbooks.git
synced 2026-02-05 12:45:29 +01:00
Change installer files logic
The information for os__installer_files changed in the backend.
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
pool: '{{ new__system_disk_tmp.meta.pool }}'
|
||||
target: '{{ host.virt.storage[new__system_disk_tmp.meta.pool].path }}/{{ new__hostname }}-{{ new__system_disk_tmp.name }}'
|
||||
new__system_net: '{{ new.net | selectattr("primary") | first() }}'
|
||||
os__installer_files: '{{ os__installer_base[new.os.distro][new.os.codename][new.arch] }}'
|
||||
roles:
|
||||
- virt-install
|
||||
|
||||
|
||||
@@ -34,19 +34,18 @@ os__tmp_installer_dir: '{{ os__tmp_base_dir }}/installer-{{ target_arch }}'
|
||||
os__tmp_images_dir: '{{ os__tmp_installer_dir }}/current/images'
|
||||
os__tmp_image_dir: '{{ os__tmp_images_dir }}/netboot/debian-installer/{{ target_arch }}'
|
||||
os__installer_files:
|
||||
amd64:
|
||||
- url: 'http://zeus.inofix.ch/debian/jessie/installer-amd64/current/images/MANIFEST'
|
||||
dest: '{{ os__tmp_images_dir }}/MANIFEST'
|
||||
checksum: 'sha256:82f69d557f0004d2923fb03e4fb47d18187e37768dbfd0c99756f8a6c68a6d3a'
|
||||
- url: 'http://zeus.inofix.ch/debian/jessie/installer-amd64/current/images/MANIFEST.udebs'
|
||||
dest: '{{ os__tmp_images_dir }}/MANIFEST.udeps'
|
||||
checksum: 'sha256:db24cd0a097ec465ed0f54703cd6435ca1f92399863c3efc29eca683d50689ac'
|
||||
- url: 'http://zeus.inofix.ch/debian/jessie/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz'
|
||||
dest: '{{ os__tmp_image_dir }}/initrd.gz'
|
||||
checksum: 'sha256:e60e29869c8911162e250026e37e2629fca3d81b18b66839132a351ee9247246'
|
||||
- url: 'http://zeus.inofix.ch/debian/jessie/installer-amd64/current/images/netboot/debian-installer/amd64/linux'
|
||||
dest: '{{ os__tmp_image_dir }}/linux'
|
||||
checksum: 'sha256:b5737bad99b67a9bf3c9f490571ef5291c6a8ee6057bdb12f708a8dfebecbafe'
|
||||
- url: 'http://zeus.inofix.ch/debian/jessie/installer-amd64/current/images/MANIFEST'
|
||||
dest: '{{ os__tmp_images_dir }}/MANIFEST'
|
||||
checksum: 'sha256:82f69d557f0004d2923fb03e4fb47d18187e37768dbfd0c99756f8a6c68a6d3a'
|
||||
- url: 'http://zeus.inofix.ch/debian/jessie/installer-amd64/current/images/MANIFEST.udebs'
|
||||
dest: '{{ os__tmp_images_dir }}/MANIFEST.udeps'
|
||||
checksum: 'sha256:db24cd0a097ec465ed0f54703cd6435ca1f92399863c3efc29eca683d50689ac'
|
||||
- url: 'http://zeus.inofix.ch/debian/jessie/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz'
|
||||
dest: '{{ os__tmp_image_dir }}/initrd.gz'
|
||||
checksum: 'sha256:e60e29869c8911162e250026e37e2629fca3d81b18b66839132a351ee9247246'
|
||||
- url: 'http://zeus.inofix.ch/debian/jessie/installer-amd64/current/images/netboot/debian-installer/amd64/linux'
|
||||
dest: '{{ os__tmp_image_dir }}/linux'
|
||||
checksum: 'sha256:b5737bad99b67a9bf3c9f490571ef5291c6a8ee6057bdb12f708a8dfebecbafe'
|
||||
os__installer_templates:
|
||||
- src: 'preseed.j2'
|
||||
dest: '{{ os__tmp_base_dir }}/preseed.cfg'
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
url: '{{ item.url }}'
|
||||
dest: '{{ item.dest }}'
|
||||
checksum: '{{ item.checksum }}'
|
||||
with_items: '{{ os__installer_files[new.arch] }}'
|
||||
with_items: '{{ os__installer_files }}'
|
||||
|
||||
- name: 'Install the preseed template'
|
||||
template:
|
||||
|
||||
Reference in New Issue
Block a user