Skip to main content

Basics for Ansibles

Ansible basics are the core ideas needed to run your first automation: a control node that runs Ansible, an inventory listing managed hosts and groups, modules that perform actions, and playbooks that bundle tasks in YAML. Ansible pushes changes over SSH and aims for idempotent results.

Stage: Getting Started · Part of the Ansible roadmap · Last reviewed 19 November 2026

What to learn in Basics

Basics interview questions

What does it mean that Ansible is agentless?

Managed hosts do not run any Ansible daemon. The control node connects over SSH, or WinRM for Windows, copies small module scripts, runs them, and removes them. You only need Python and SSH access on Linux targets, so there is no agent to install, update or secure.

What is idempotence in Ansible?

A task is idempotent when running it repeatedly leaves the system in the same state after the first run. A module like package checks whether the software is installed and changes nothing if it is. The play recap then reports ok instead of changed.

Where Basics fits in the Ansible roadmap

Basics belongs to the Getting Started stage (beginner level). Automate your first host.

Back to the full Ansible roadmap