• This repository has been archived on 02/Jun/2024
  • Stars
    star
    226
  • Rank 176,514 (Top 4 %)
  • Language Jinja
  • Created about 3 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An Ansible role for generating a custom Ubuntu Server 20.04 ISO for (semi-)automated provisioning

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