cub-uanic / ansible-role-ubuntu_autoinstall

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Jinja 100.0%