Ansible
ELI5 — The Vibe Check
Ansible is a tool that lets you automate the setup of servers by writing scripts called playbooks. Instead of SSH-ing into 50 servers and manually running commands, you write what you want done and Ansible does it on all of them at once. It's like writing a checklist that robots follow.
Real Talk
Ansible is an agentless IT automation tool that uses YAML-based playbooks to configure systems, deploy applications, and orchestrate infrastructure tasks over SSH. Unlike Terraform (which provisions infrastructure), Ansible focuses on configuration management of existing servers.
Show Me The Code
# playbook.yml
- hosts: web_servers
tasks:
- name: Install nginx
apt:
name: nginx
state: present
- name: Start nginx
service:
name: nginx
state: started
When You'll Hear This
"Use Ansible to configure all the new servers automatically." / "The Ansible playbook sets up nginx, deploys the app, and configures firewall rules."
Related Terms
Chef
Chef is an older infrastructure automation tool where you write 'recipes' and 'cookbooks' to describe how servers should be configured.
IaC (Infrastructure as Code)
IaC is shorthand for Infrastructure as Code — the idea that your servers and cloud setup should be written in files, not clicked together in a UI.
Infrastructure as Code
ClickOps means building your cloud infrastructure by clicking buttons in AWS console.
Puppet
Puppet is an old-school infrastructure automation tool that describes the desired state of your servers in a language called Puppet DSL.
Terraform
Terraform is a tool that lets you describe your entire cloud infrastructure in code files, then type one command to make it real.