🚀 Welcome back friends!
In this video (Day 2 of the Ansible series), we will build a complete Ansible Lab Setup using two CentOS Linux machines:
✅ Ansible Control Node
✅ Ansible Managed Node
🔥 What you’ll learn in this demo:
🔹 Create an admin user on both machines
🔹 Add the user to sudoers (NOPASSWD access)
🔹 Enable SSH password authentication
🔹 Generate SSH keys on the control node
🔹 Copy SSH public key to managed node
🔹 Update Ansible inventory file /etc/ansible/hosts
🔹 Test the connection using:
ansible all -m ping
🎯 Final Output
You’ll see:
✅ "ping": "pong"
Which confirms Ansible is successfully communicating with the managed node.
📌 In the next video, we will start running real Ansible modules and automation tasks.
👍 If this video helped you, don’t forget to Like, Share, and Subscribe
💬 Questions? Drop them in the comments — I reply to all!
🖼️ Thumbnail Text (Best Layout Ideas)
🔥 Option 1 (Clean & Strong)
Automation with Ansible
Lab Setup
(Control Node + Managed Node)
Option 2 (More Punchy)
Ansible Lab Setup
Control Node + Managed Node
SSH Keys + Ping Test
Option 3 (Minimal)
Ansible Lab Setup
Control + Managed Node
Download
0 formats
No download links available.
⭐ Ansible Lab Setup on CentOS | Control Node + Managed Node (SSH Key Login + Ping Test) | NatokHD