Infrastructure as code, topic 51 of 78
Configuration management with Ansible
Once a server exists, something has to install its packages, write its configuration files and start its services, the same way on every machine. Ansible does it over SSH with nothing to install on the servers: playbooks in YAML list tasks, run against an inventory of hosts.
Learn modules, roles, variables and templates, and write tasks that are idempotent, so that a second run changes nothing.
On Opsfolk
Nothing of ours for this topic yet: an article is on its way.
Elsewhere
- Ansible documentationOfficial
- Getting started with AnsibleOfficial