xutil.dev
Login

Ansible Playbook Validator

YAML syntax check and best practice validation for Ansible Playbooks. Checks 18 rules including missing task names, command/shell usage, hardcoded passwords, and deprecated modules

Ansible Playbook YAML
Validation Results
Enter a playbook on the left
Validation Rules
yaml-syntaxYAML syntax check
hosts-requiredhosts field required
tasks-requiredtasks/roles structure check
task-name-requiredname required for each task
become-usagebecome usage check
command-instead-of-modulecommand/shell usage warning
no-hardcoded-passwordHardcoded password detection
no-hardcoded-secretHardcoded secret detection
handler-not-foundHandler reference check
handler-name-requiredname required for handlers
when-no-jinjawhen condition syntax check
fqcn-moduleFQCN module name recommended
use-looploop vs with_items check
unused-registerUnused register variable
no-ignore-errorsignore_errors usage check
no-tabsTab character detection
no-trailing-spacesTrailing whitespace detection
loop-bare-variableBare variable in loop