summaryrefslogtreecommitdiff
path: root/roles/vm/guest/install/tasks/installer-openbsd.yml
blob: cc59ee36e54fce2c9fed148db10c2152f5c1ed82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
- name: fetch openbsd installer files
  vars:
    openbsd_installer_version: "{{ install_codename }}"
    openbsd_installer_arch: "{{ hostvars[install_hostname].install_cooked.arch | default('amd64') }}"
  import_role:
    name: installer/openbsd/fetch

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