Verifying playbooks
You may want to verify your playbooks to catch syntax errors and other problems before you run them. Theansible-playbookcommand offers several options for verification, including--check,--diff,--list-hosts,--list-tasks, and--syntax-check. TheTools for validating playbookstopic describes other tools for validating and testing playbooks.