summaryrefslogtreecommitdiff
path: root/roles/vm/guest/install/tasks/installer-openbsd.yml
blob: 903e94e2554871c83602112ea04303362224ed8a (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_cooked.name].installer_base_path }}"
    openbsd_installer_version: "{{ install_codename }}"
    openbsd_installer_arch: "{{ install_cooked.arch | default('amd64') }}"
  import_role:
    name: installer/openbsd/fetch

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