summaryrefslogtreecommitdiff
path: root/roles/installer/openbsd/autoinstall/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/installer/openbsd/autoinstall/tasks/main.yml')
-rw-r--r--roles/installer/openbsd/autoinstall/tasks/main.yml24
1 files changed, 12 insertions, 12 deletions
diff --git a/roles/installer/openbsd/autoinstall/tasks/main.yml b/roles/installer/openbsd/autoinstall/tasks/main.yml
index fc5f6194..8c84aaf0 100644
--- a/roles/installer/openbsd/autoinstall/tasks/main.yml
+++ b/roles/installer/openbsd/autoinstall/tasks/main.yml
@@ -1,16 +1,16 @@
---
- name: create temporary directories
loop:
- - files/etc
- - site/
+ - files/etc
+ - site/
file:
path: "{{ obsd_autoinstall_tmpdir }}/{{ item }}"
state: directory
- name: generate bootloader and installer configuration
loop:
- - auto_install.conf
- - boot.conf
+ - auto_install.conf
+ - boot.conf
template:
src: "{{ item }}.j2"
dest: "{{ obsd_autoinstall_tmpdir }}/files/etc/{{ item }}"
@@ -21,13 +21,13 @@
- name: extract installer files from iso
vars:
installer_files:
- - cdbr
- - cdboot
- - bsd
- - bsd.mp
- - bsd.rd
- - "INSTALL.{{ obsd_autoinstall_arch }}"
- - "{{ obsd_autoinstall_file_sets | product([obsd_autoinstall_version_short+'.tgz']) | map('join') | list }}"
+ - cdbr
+ - cdboot
+ - bsd
+ - bsd.mp
+ - bsd.rd
+ - "INSTALL.{{ obsd_autoinstall_arch }}"
+ - "{{ obsd_autoinstall_file_sets | product([obsd_autoinstall_version_short+'.tgz']) | map('join') | list }}"
iso_extract:
image: "{{ obsd_autoinstall_orig_iso }}"
dest: "{{ obsd_autoinstall_tmpdir }}/files"
@@ -45,7 +45,7 @@
dest: "{{ obsd_autoinstall_tmpdir }}/files/site{{ obsd_autoinstall_version_short }}.tgz"
- name: generate host specific installer image
- command: 'genisoimage -RTLldDN -o "{{ install_hostname }}.iso" -no-emul-boot -b "cdbr" -c "boot.catalog" files/'
+ command: 'genisoimage -RTLldDN -o "{{ inventory_hostname }}.iso" -no-emul-boot -b "cdbr" -c "boot.catalog" files/'
args:
chdir: "{{ obsd_autoinstall_tmpdir }}/"