{"id":25168273,"url":"https://github.com/bhdicaire/proxmoxsetup","last_synced_at":"2026-05-05T23:32:50.966Z","repository":{"id":276557683,"uuid":"929624711","full_name":"bhdicaire/proxmoxSetup","owner":"bhdicaire","description":"Ansible playbook for configuring a Proxmox Virtual Environment (PVE)","archived":false,"fork":false,"pushed_at":"2025-02-09T01:33:34.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T00:55:12.142Z","etag":null,"topics":["ansible","ansible-playbook","ansible-role","debian","proxmox","proxmox-cluster","proxmox-ve"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bhdicaire.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-09T01:20:02.000Z","updated_at":"2025-02-09T01:33:37.000Z","dependencies_parsed_at":"2025-02-10T00:15:13.287Z","dependency_job_id":null,"html_url":"https://github.com/bhdicaire/proxmoxSetup","commit_stats":null,"previous_names":["bhdicaire/proxmoxsetup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhdicaire%2FproxmoxSetup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhdicaire%2FproxmoxSetup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhdicaire%2FproxmoxSetup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhdicaire%2FproxmoxSetup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhdicaire","download_url":"https://codeload.github.com/bhdicaire/proxmoxSetup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247061784,"owners_count":20877169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-playbook","ansible-role","debian","proxmox","proxmox-cluster","proxmox-ve"],"created_at":"2025-02-09T07:16:34.057Z","updated_at":"2025-04-03T18:48:34.475Z","avatar_url":"https://github.com/bhdicaire.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"![proxmoxSetup logo](https://github.com/bhdicaire/proxmoxSetup/raw/master/doc/logo.png)\n\nThis is an [ansible](https://www.redhat.com/en/ansible-collaborative) playbook for configuring a [Proxmox Virtual Environment (PVE)](https://www.proxmox.com/en/proxmox-virtual-environment/overview).\n\nPVE is based on [Debian GNU/Linux](https://www.debian.org/) including security updates and bug fixes. PVE use their own Linux kernel based on Ubuntu with several extra hardware drivers, [ZFS](https://zfsonlinux.org/), virtualization, and container features.\n\n## What problem does it solve and why is it useful?\n\nSetup one or several [PVE](https://pve.proxmox.com) with easy-to-understand instructions that automate the installation and configuration from the bare metal.\n\u003cdetails\u003e\n\u003csummary\u003eEverything is configured properly\u003c/summary\u003e\n* Disable the enterprise repo, enable the public repo, and add non-free sources\n* Remove subscription banner\n\u003c/details\u003e\n\nFYI, my [build of material (BoM)](docs/bom.md) use the x86-64 architecture.\n\n## Initial setup\n\n1. Configure BIOS on each machine:\n  * Install the latest bios version\n  * Reset BIOS to factory defaults\n  * Pick UEFI / Secure Boot or legacy, it does not matter\n  * Enable virtualization also known as VT-d, SRV-IO, or IOMMU for passthrough via Proxmox\n  * Configure power state:\n    * Boot on power restore\n    * Wake on Lan\n2. Download the latest [ISO image](https://www.proxmox.com/en/downloads/proxmox-virtual-environment/iso) \n  * It is a bare-metal installer, please be aware that the complete server is used and existing data on the selected disks will be removed\n3. Create an USB install media with [Rufus](https://rufus.ie/en/) or [Balener Etcher](https://etcher.balena.io/)\n4. Setup proxmox identically on each node including the root password\n  * Boot from proxmox \n  * Use a different hostname and static IP address for each machine\n  * Choose XFS for root filesystem\n  * Reboot once install finishes\n5. Configure SSH\n  * Create a SSH public and private key on your favorite computer. \n6. Modify the inventory\n  * Edit the ansible `inventory.ini` file for your own nodes.\n7. Run the ansible playbook: `ansible-playbook site.yml` \n  * Secure the nodes, removing password authentication\n  * Create Proxmox cluster\n  * Create Ceph cluster and storage\n8. Access the user interface with your web browser: https://192.168.1.168:8006/\n\n## Insights\n\n### `apt update -y;apt dist-upgrade -y`\n\nNever run `apt upgrade` because it might break Proxmox. Run `apt dist-upgrade` instead, as documented in the [Proxmox VE Documentation](https://pve.proxmox.com/pve-docs/index.html). You can also refer to the [Debian Administrator's Handbook](https://debian-handbook.info/get).\n\n## _proxmoxSetup_ by Benoît H. Dicaire is shared with an [MIT license](https://github.com/bhdicaire/macSetup/raw/main/LICENSE).\n[Suggestions and improvements](https://github.com/bhdicaire/proxmoxSetup/issues) are welcome!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhdicaire%2Fproxmoxsetup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhdicaire%2Fproxmoxsetup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhdicaire%2Fproxmoxsetup/lists"}