This repo is a fork of notthebee's ansible playbook to automatically generate and deploy an Ubuntu server image to a remote computer.
This role will WIPE the first disk available during the installation process, proceed with caution.
- Piping to shell is a controversial topic, as it prevents you from reading code that is about to run on your system. Please note that the lastcommand.sh file commands may be directly appended to the preseed.cfg file if you prefer not to pipe to shell.
- Download and verify (SHA256) the specified Debian netinst server edition ISO
- Unpack the ISO and integrate preseeding for automated installation of a Debian environment to ProxMox PVE
- Repack the ISO and (optionally) upload it to PiKVM for futher installation
- notthebee for providing an ansible playbook to remotely image a server PC to build upon.
---
- hosts: all
gather_facts: yes
become: no
roles:
- role: proxmox_autoinstall
iso_arch
– Architecture of the output ISO file.amd64
andarm64
are supported
Other variables are more or less self-explanatory and can be found in defaults/main.yml
git clone --depth 1 https://github.com/mataborg/ansible-role-proxmox_autoinstall /home/eagle/.ansible/roles/proxmox_autoinstall
ansible-playbook .ansible/playbooks/proxmox_autoinstall.yml --ask-become-pass