Anand Sen’s Post

Day 69/90 — Ansible Playbooks & Modules 🚀 Today I moved beyond ad-hoc commands and wrote my first real Ansible playbooks as part of #90DaysOfDevOps! Here's what I built and learned: ✅ Wrote my first playbook to install Nginx, start the service, and deploy a custom HTML page ✅ Proved idempotency — ran the same playbook twice, second run showed changed=0 ✅ Practiced 7 essential modules: apt, service, copy, file, command, shell, lineinfile ✅ Understood the difference between command and shell modules ✅ Learned handlers — tasks that only trigger when something actually changes ✅ Used --check --diff for safe dry runs before applying changes The moment that clicked for me: running the same playbook twice and watching Ansible make zero changes the second time. That's idempotency — and it's what makes infrastructure automation reliable at scale. Ansible doesn't just run commands. It enforces desired state. 🔥 #90DaysOfDevOps #DevOpsKaJosh #TrainWithShubham #Ansible #DevOps #InfrastructureAsCode #Linux #Automation #LearningInPublic

To view or add a comment, sign in

Explore content categories