Playbook Standards

Note

This guide is under development.

Style and design guidelines for the creation of playbooks and roles in Ansible.

Key Principles

  1. Idempotence: All tasks must be executable repeatedly without changing the system state if it is already correct.

  2. Role Structure: Follow the standard Ansible Galaxy structure to organize independent roles.

  3. Readability: Use clear names (name) in all tasks to facilitate tracking the execution.