Ansible Exploration
@amitmund
July 09, 2026
Exploration
This is some Exploration Notes on Ansible. Its not structured flow, but consider as a rough informations about Ansible.
Learning Path:
Linux Basics
│
▼
SSH
│
▼
Python Basics
│
▼
YAML
│
▼
Ansible Core
│
▼
Inventory
│
▼
Playbooks
│
▼
Roles
│
▼
Collections
│
▼
Templates
│
▼
Vault
│
▼
Automation Projects
│
▼
Production Environment
Suggested Folder Structure
ansible-lab/
├── inventory/
│ ├── production
│ ├── staging
│ └── development
│
├── playbooks/
│ ├── install_nginx.yml
│ ├── install_apache.yml
│ ├── users.yml
│ └── security.yml
│
├── roles/
│ ├── nginx/
│ ├── apache/
│ ├── mysql/
│ └── docker/
│
├── templates/
│
├── files/
│
├── vars/
│
├── group_vars/
│
├── host_vars/
│
├── collections/
│
├── plugins/
│
├── vault/
│
├── scripts/
│
└── README.md
Sandbox Architecture:
Your Laptop
(Ubuntu / Windows WSL)
│
┌───────────┴────────────┐
│ │
▼ ▼
Control Node Git Repository
(Ansible) (Playbooks)
│
┌──────┼───────────────┐
│ │ │
▼ ▼ ▼
Node1 Node2 Node3
Ubuntu Rocky Linux Debian
│
▼
Docker Containers
(Optional Practice)
However you can just start learning initially just from 1 linux node too.
Some Virtual Machines and related stuffs
- VirtualBox
- VMware Workstation
- KVM(Linux)
- Multipass
- Vagrant
- Docker (Good for learning modules, but perfect for learning systemd)
Service to Install and explore
Practice automating installation and configuration of:
Nginx
Apache
MySQL
PostgreSQL
Docker
Kubernetes (later)
Jenkins
GitLab Runner
Redis
RabbitMQ
Prometheus
Grafana
Node Exporter
Bastian Node
Networking Example
Router
│
192.168.1.0/24
│
┌─────────┼─────────┐
│ │ │
Controller Web01 Web02
192.168.1.10 .11 .12
│
DB01
192.168.1.20
Projects
Install Nginx on 20 servers.
Create 100 Linux users.
Configure SSH.
Deploy a website.
Install Docker.
Install Kubernetes.
Configure monitoring.
Deploy a Django application.
Backup configuration files.
Build a CI/CD pipeline with Ansible.
Skills You will learn
Linux administration
SSH management
YAML
Playbooks
Roles
Collections
Templates (Jinja2)
Vault (secret management)
Inventory management
Dynamic inventory
Automation
Infrastructure as Code (IaC)
CI/CD integration
Cloud automation
Kubernetes automation