StudyToCert

All certifications / CCNA / Lessons

Cisco CCNA 200-301 v2.0 · Domain 5: AI & network operations/management

Configuration management with Ansible: agentless, SSH, YAML playbooks, inventory, idempotency

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Ansible is a free tool that makes the same change on many network devices for you. You install it on one computer, and it logs in to each device the same way a person would, over a secure remote connection, so nothing extra has to be installed on the routers or switches. You write a simple list of devices (the inventory) and a simple instruction file (the playbook) that says what each device should look like. If a device already matches, Ansible leaves it alone; if it does not, Ansible fixes it. It is like a checklist-following assistant who visits every room in a hotel, straightens only the beds that are messy, and skips the ones already made.

Two weeks before a compliance audit, Rosa at Meridian Freight runs a quick check and finds a mess: of 120 access switches, some point to one NTP server, some to two, and a handful to an address that was retired last year. Her manager suggests a weekend of logging in to each switch. Rosa has a different idea. She wants to write the standard down once, test it on a lab switch, and push it everywhere, and she wants to be able to run the same job again next month without breaking anything that is already correct. Can one small text file do that safely, and what exactly will it touch?

Begin with what Ansible is for. Ansible is an open-source automation tool widely used to configure network devices and servers. It lets you describe what you want done in readable files and apply it to many devices at once, which makes configuration faster, more consistent and repeatable. The CCNA focuses on how Ansible works, its vocabulary, and how it compares with other configuration management tools such as Puppet and Chef.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 8 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study CCNA for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the CCNA study plan