summaryrefslogtreecommitdiff
path: root/roles/vm/guest/install/tasks/installer-openbsd.yml
blob: e3e05fb4f587c14535e2ad6daf3b2866f03447a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
## this file is sourced using import_task and all task are therefore delegated to the vm-host
- name: fetch openbsd installer files
  vars:
    installer_base_path: "{{ hostvars[vm_host.name].installer_base_path }}"
    openbsd_installer_version: "{{ install_codename }}"
    openbsd_installer_arch: "{{ install.arch | default('amd64') }}"
  import_role:
    name: installer/openbsd/fetch

- name: generate host specific autoinstall iso
  vars:
    obsd_autoinstall_orig_iso: "{{ hostvars[vm_host.name].installer_base_path }}/openbsd-{{ install_codename }}/{{ install.arch | default('amd64') }}/install{{ openbsd_installer_version_short }}.iso"
    obsd_autoinstall_tmpdir: "{{ tmpdir.path }}"
    obsd_autoinstall_version: "{{ install_codename }}"
    obsd_autoinstall_arch: "{{ install.arch | default('amd64') }}"
    obsd_autoinstall_serial_device: com0
    install_interface: vio0
  import_role:
    name: installer/openbsd/autoinstall