0Pricing
Ansible Academy · Lesson

Installing the Ansible Control Node

Get Ansible running on your control machine.

Installing the Ansible Control Node is a free Ansible Academy lesson on CoddyKit — lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Ansible Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

The Control Node

Ansible runs from one machine called the control node. You install Ansible there, and it reaches out to all your other servers. 🚀

Managed Nodes Stay Clean

The servers you manage are managed nodes. They need nothing installed: Ansible connects over SSH, so your fleet stays untouched.

What the Control Node Needs

Your control node just needs Python and Ansible. Most Linux and macOS machines already ship with a usable Python interpreter.

Windows Is Not a Control Node

You cannot run the control node on Windows directly. Use WSL, a Linux VM, or a Mac instead to host Ansible.

Install with pip

The most portable way is pip, Python's package manager. It pulls the latest Ansible from PyPI into your environment.

python3 -m pip install --user ansible

The ansible Package

The ansible package bundles the core engine plus a big set of community collections, so you get useful modules out of the box.

pip install ansible

Just the Core

Want a slim install? Use ansible-core for just the engine and base modules, then add only the collections you actually need.

pip install ansible-core

Install via Your OS

You can also use your package manager. On Debian or Ubuntu, apt installs a tested system-wide Ansible build.

sudo apt install ansible

Verify the Version

After installing, run ansible --version. It prints the version and the config file Ansible found, confirming the install works.

ansible --version

Where Config Lives

That version output also shows the python version Ansible uses. Mismatched Python can cause odd errors, so check it early.

You Are Ready

With Ansible installed and verified, your control node is the cockpit for every server you will automate from here on. 🛠️

Quick Check

One quick check before you move on.

Recap

You install Ansible on the control node via pip or your package manager, then confirm it with ansible --version. Managed nodes stay agentless. 🎉

Frequently asked questions

Is the “Installing the Ansible Control Node” lesson free?

Yes — the full text of “Installing the Ansible Control Node” is free to read here on the web, and the Ansible Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Ansible Academy course, upgrade to CoddyKit PRO.

What will I learn in “Installing the Ansible Control Node”?

Get Ansible running on your control machine. You practise Ansible Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Ansible Academy?

No prior experience is required. Ansible Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Installing the Ansible Control Node” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Ansible Academy lesson?

Yes. Every Ansible Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. Installing the Ansible Control Node
  2. SSH Keys & Passwordless Login
  3. Your ansible.cfg: Sensible Defaults
  4. Ping a Host with the ping Module
← Back to Ansible Academy