Practice the vocabulary for describing Ansible playbooks, roles, and task execution in English.
0 / 5 completed
1 / 5
What is an Ansible playbook?
A playbook defines which tasks run on which hosts, in what order. It is the primary unit of configuration in Ansible.
2 / 5
An Ansible task is marked as idempotent. What does this mean?
Idempotency is a core principle in configuration management — tasks should be safe to re-run without causing unintended side effects.
3 / 5
A colleague says we should use an Ansible role for Nginx installation. What does this suggest?
Ansible roles organize tasks, handlers, templates, and variables into a structured directory format for reuse across playbooks.
4 / 5
In an Ansible playbook, a handler is defined. What is a handler?
Handlers are triggered by the notify directive in tasks. They run at the end of the play if notified — common use: restart a service when a config file changes.
5 / 5
The playbook is running in check mode. What does this do?
Check mode (--check) is Ansible's dry run mode, similar to terraform plan — it shows what would change without making changes.