Proxmox

Using Ansible to Create Proxmox Virtual Machines



We use ansible to create proxmox virtual machines. First in a series of videos on building a kubernetes cluster with ansible, proxmox, k3s, k3sup, and rancher.

GitHub Repo:
( exact version I used in the video in case things change later)

Requirements if not using my devcontainer:
ansible-core (2.16 has been tested, others may work)
community.general (8.1.0 or later) collection from ansible galaxy,
python modules: proxmoxer, requests, pyyaml

00:00 – Intro
00:23 – Creating a Proxmox API Token
01:33 – Assigning Token Permissions
02:23 – Cluster Configuration
04:50 – Generating the Ansible Inventory
05:22 – Creating the Cluster with Ansible
06:01 – Create Cluster Playbook
06:17 – Create Template Playbook
12:30 – Create Nodes Playbook
14:11 – Prep Nodes Playbook
15:17 – Snapshot Cluster Playbook
15:32 – Create Cluster Playbook Results
16:15 – Proxmox Role Defaults
21:10 – Ansible Vault Vars
23:03 – Proxmox Role Vars
23:45 – Outtro

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button