Explorar el Código

only prepare installer when installer method is defined

master
padre
commit
e63dd2027c
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. +1
    -1
      defaults/main.yml
  2. +2
    -0
      tasks/main.yml

+ 1
- 1
defaults/main.yml Ver fichero

@@ -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 Ver fichero

@@ -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"


Cargando…
Cancelar
Guardar