0Pricing
Ansible Academy · Lesson

Reading changed vs ok in Output

Interpret what a run actually did.

Every Task Reports a Status

After each task, Ansible prints a status per host. The two you will see most are ok and changed, and they tell different stories.

ok Means Already Correct

A status of ok means the host already matched the desired state. The task ran its check but made no change at all.

ok: [web1]

All lessons in this course

  1. Desired State, Not Step-by-Step Scripts
  2. Reading changed vs ok in Output
  3. Why command Breaks Idempotency
  4. Check Mode: Dry-Run with --check
← Back to Ansible Academy