Create a Proxmox Container and Install Ansible – Full Step by Step Tutorial

Опубликовано: 02 Июнь 2026
на канале: TestLAB
620
8

In this video, I guide you through the complete process of creating a Proxmox container (LXC) and installing Ansible inside it. This is a full tutorial designed for anyone who wants to build a lightweight automation control node using Proxmox.

🔹 What You’ll Learn:
✔ How to create a new Proxmox LXC container from a Linux template
✔ Configuring container resources (CPU, RAM, storage, networking)
✔ Installing all required Ansible components inside the container
✔ Setting up Python, SSH, and WinRM for cross-platform automation
✔ Verifying Ansible connectivity to Linux and Windows hosts
✔ Tips for keeping the container lightweight yet powerful for automation tasks

0:35 Create LXC container
1:50 Download template for container creation
6:20 Create a new user in the container
9:05 Fix incorrect IP configuration in the container
10:40 Update the container OS
14:00 Install pipx
14:30 Set environment PATH
15:30 Install Ansible Core
16:56 Install domain join dependencies and join domain
19:01 Install Kerberos and WinRM
20:57 Install Ansible Galaxy collections for Windows and Active Directory
25:50 Connect to the container with VS Code
28:50 Create a minimal config and test the Ansible connection
41:20 Install VS Code extensions such as YAML and Ansible