Skip to content

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

Notifications You must be signed in to change notification settings

Epochie/ansible-role-ubuntu_autoinstall

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 100.0%