HOMELAB / DOCUMENTATION

Learning Ansible

My early Ansible experiments and what I am trying to learn about repeatable server configuration.

Why I’m learning it

I started looking at Ansible because I wanted to understand how organizations manage configurations across multiple servers without repeating the same manual steps on every machine. I understood the need for mass, repeatable deployment, but did not have an idea of what it actually looks like.

I have one introductory Ansible configuration currently employed in homelab that is “show-ready”. This is something brand new to me, and I have plans to develop more configurations for future deployments.

The basic idea

Ansible uses an inventory of target hosts and playbooks to describe the tasks you want performed. For the environment that I run (Ubuntu), and many others, it can connect over SSH and execute those tasks without requiring a pre-installed agent on each target.

What interests me is repeatability: being able to make a desired change in a file, review it, and run it consistently later.

What I’m practicing

These are learning goals and early experiments, my homelab is not 100% managed by Ansible at the time of writing this.