Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.01 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.01 KB

Ansible Role: Ubuntu Autoinstall

This role will:

  • Download and verify (GPG and SHA256) the newest Ubuntu Server 20.04 ISO
  • Unpack the ISO and integrate the user-data file for semi-automated installation
  • Repack the ISO and (optionally) upload it to PiKVM for futher installation

Special thanks to:

Example playbook:

---
- hosts: all
  gather_facts: yes
  become: no

  roles:
    - role: notthebee.ubuntu_autoinstall

Variables

  • boot_drive_serial – the serial number of the drive where you want to install Ubuntu. You can find it out using ls /dev/disk/by-id. Make sure to omit the interface (e.g. ata- or scsi-).
  • iso_arch – Architecture of the output ISO file. amd64 and arm64 are supported

Other variables are more or less self-explanatory and can be found in defaults/main.yml