summaryrefslogtreecommitdiff
path: root/roles/vm/install/tasks/installer-openbsd.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-07-10 23:42:23 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-07-10 23:42:23 +0200
commitc9df5dcce462af13685236bf7a1d4dd896b1406b (patch)
tree8b7ed8bd765bb1a3a338bb4f587665b439d6b24d /roles/vm/install/tasks/installer-openbsd.yml
parentopenbsd installer: move to single version per invocation (diff)
major refactoring of installer roles
Diffstat (limited to 'roles/vm/install/tasks/installer-openbsd.yml')
-rw-r--r--roles/vm/install/tasks/installer-openbsd.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/vm/install/tasks/installer-openbsd.yml b/roles/vm/install/tasks/installer-openbsd.yml
new file mode 100644
index 00000000..f3802afd
--- /dev/null
+++ b/roles/vm/install/tasks/installer-openbsd.yml
@@ -0,0 +1,16 @@
+---
+- name: fetch openbsd installer files
+ vars:
+ 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:
+ ssh_keys_root: "{{ hostvars[install_hostname].ssh_keys_root }}"
+ obsd_autoinstall_tmpdir: "{{ tmpdir.path }}"
+ obsd_autoinstall_serial_device: com0
+ install_interface: vio0
+ import_role:
+ name: installer/openbsd/autoinstall