0Pricing
Ansible Academy · Lesson

Configuration Management to the Rescue

How declaring desired state replaces clicking around.

Setup as Code

Configuration management means describing how a server should be set up in files, then letting a tool enforce that description.

Declare the Destination

Instead of listing steps, you declare the desired state: nginx installed, running, and enabled. The tool figures out how to get there.

- name: nginx is present and running
  ansible.builtin.service:
    name: nginx
    state: started

All lessons in this course

  1. The Problem: Snowflake Servers & Manual Drift
  2. Configuration Management to the Rescue
  3. Agentless & Push-Based: Ansible's Big Idea
  4. Ansible vs Puppet, Chef & Terraform
← Back to Ansible Academy