summaryrefslogtreecommitdiff
path: root/roles/vm/guest/install/tasks/installer-ubuntu.yml
blob: 5f1a71e2ded5404c350ff215d6494559754c6255 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
---
## this file is sourced using import_task and all task are therefore delegated to the vm-host
- name: fetch ubuntu installer files
  vars:
    installer_base_path: "{{ hostvars[vm_host.name].installer_base_path }}"
    ubuntu_installer_iso_variant: live-server
    iso_install_target_dir: "{{ vm_install_tmpdir.path }}"
    ubuntu_autoinstall_virtual_machine: yes
    ubuntu_autoinstall_poweroff_when_done: yes
  import_role:
    name: installer/ubuntu/iso