Browse Source

only prepare installer when installer method is defined

master
parent
commit
e63dd2027c
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      defaults/main.yml
  2. +2
    -0
      tasks/main.yml

+ 1
- 1
defaults/main.yml View File

@@ -1,3 +1,3 @@
debian_installer_method: false
debian_installer_directory: host_files/{{ inventory_hostname }}/debian-installer
debian_installer_nonfree_firmware: false
debian_installer_method: null

+ 2
- 0
tasks/main.yml View File

@@ -8,7 +8,9 @@
path: "{{debian_installer_directory}}"

- import_tasks: preseed.yml

- import_tasks: installer.yml
when: debian_installer_method

- include: method/kexec.yml
when: debian_installer_method == "kexec"


Loading…
Cancel
Save