</>CodexBash
All articles
DevOps

Ansible for beginners

Automate server configuration with Ansible: agentless SSH-based design, inventories, ad-hoc commands, playbooks and tasks, modules, idempotency, variables and templates, handlers, roles, Ansible Vault for secrets, check mode, and how Ansible fits alongside Terraform and containers.

CodexBash, , 5 min read

Setting up one server by hand, installing packages, editing configuration files, creating users and starting services, takes an afternoon. Setting up ten identical servers by hand takes a week and produces ten slightly different servers. Ansible automates this: you describe the desired configuration in YAML files called playbooks, and Ansible applies it to any number of machines over SSH, the same way every time. It is one of the most popular configuration management tools because it needs no agent on the servers and is easy to read. This guide covers the essentials.

Sign in to read the rest

The whole 5 minute article is free with an account, along with every problem, lesson and tutorial. No card.