0Pricing
Ansible Academy · Lesson

Idempotence & Lint in the Pipeline

Catch drift and style failures early.

Two Gates Beyond Verify

Great roles pass two more checks: they are idempotent and they lint clean. Molecule runs both for you.

The Idempotence Step

Molecule runs your role a second time and watches the output. This dedicated step is called idempotence.

molecule idempotence

All lessons in this course

  1. Why Test Infrastructure Code
  2. molecule init & the Scenario Layout
  3. Converge, Verify & the Test Matrix
  4. Idempotence & Lint in the Pipeline
← Back to Ansible Academy