Skip to content

Ansible

Configuration management tool for automating provisioning and maintaining desired state across multiple hosts from a single control node.

  • Ansible Overview


    What Ansible is, how it works, and initial SSH key setup.

  • Installation


    Installing Ansible on the control node.

  • Writing Tasks


    How tasks work — modules, loops, conditionals, register, handlers, and blocks.

  • Common Modules


    The toolbox — apt, copy, template, file, service, and the rest, with examples.

  • Templates & Jinja2


    Writing .j2 files — Jinja2 variables, filters, loops, and conditionals.

  • Facts & Variables


    System facts, magic variables, and which value wins when names collide.

  • Collections & Galaxy


    Where modules come from, FQCNs, and installing collections.

  • Ad-hoc & Safe Runs


    One-off commands, check mode, --diff, tags, and limiting scope.

  • Inventory


    Defining managed hosts and running ad hoc commands.

  • Variables


    Variables let you define values once and reuse them.

  • Vault


    Encrypting secrets and sensitive variables in playbooks and inventory.

  • Roles


    Structuring playbooks into reusable, portable units.

  • Playbooks


    Repeatable, ordered task definitions for configuring hosts.

  • Docker Compose Templates


    Templates for running Docker containers with Ansible.