--- # - import_tasks: setup.yml - name: directory file: state: directory path: "{{debian_installer_directory}}" - import_tasks: preseed.yml - import_tasks: installer.yml when: not debian_installer_method == false - import_tasks: method/kexec.yml when: debian_installer_method == "kexec"