LearnThatStack Ace your next interview
Ansible · question
Question 4 of 34

What does it mean that Ansible is agentless, and how does it differ from Puppet?

beginner
← All Ansible questions
Re-explain

Agentless means Ansible installs nothing permanent on the managed nodes it controls. The control node connects to each managed node over SSH and pushes small programs called modules. It runs them there, then removes them when they finish. Windows nodes usually connect over WinRM instead.

A Linux or Unix managed node needs only Python and a user account Ansible can log in with over SSH. There is no daemon to install, upgrade or secure on every node.

Puppet works the other way. Each managed node runs a Puppet agent that pulls a compiled catalog from a primary server and applies it. That pull model corrects drift on every agent run, but every node needs the agent installed and maintained.

Ansible pushes changes when you run a playbook, so changes happen when you choose. ansible-pull inverts this, so each node fetches playbooks from Git and runs them itself, usually from cron.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

The diagram below the answer is the concept . Jump to it ↓

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

Saved in this browser - sign in to keep your review list.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Interview lens

Likely follow-ups, what you can say, and the weak answers to avoid.

Sign in free to open it Free account - the lens opens as soon as you're back.

Want a quick review of the fundamentals? See the Ansible cheatsheet.

← Back to all Ansible questions
Pro · $10/mo

27 of 34 Ansible answers are in Pro.

Full answers, code samples, and AI explanations that go simpler or deeper. Cancel anytime.

  • Full answers + code
  • AI explanations, simpler or deeper
  • 1,000 AI credits / month
  • Cancel anytime