proxmox

Automate your Proxmox cluster with Ansible – Installation & Configuration + your first playbook!



Project Tiny Homelab EP5

In this video I will teach you how to SSH into your Proxmox Nodes. Install and configure Ansible and how you can execute commands on your nodes. And I will help you build your first playbook to automate system upgrades.

SSH Key set-up:
ssh-keygen -t ed25519
cat .ssh/id_rsa.pub
nano .ssh/authorized_keys
ssh root@YOURIP

Installing Ansible

brew install ansible
ansible all –list-hosts
sudo mkdir /etc/ansible
sudo nano /etc/ansible/hosts

[proxmox-lab]
1.1.1.1
2.2.2.2
3.3.3.3
4.4.4.4

Ansible commands:
ansible all –list-hosts
ansible all -m ping -u root

Run Ansible Playbook
ansible-playbook -u root ansible/homelab/proxmox_update.yml

Gear we use on Kit (affiliate)
➡️

Website
➡️

⏰ Timestamps
00:00 Introduction, what is Ansible
00:28 SSH Access to cluster
02:08 Installing Ansible
02:47 Configuring Ansible Hosts
03:35 First Ansible command!
03:57 Unleashing the power of Ansible with Playbooks
05:42 Executing the playbook & Outro

source

 

To see the full content, share this page by clicking one of the buttons below

Related Articles

Leave a Reply