Ansible 2 · Playbooks

Check playbook syntax

Check the playbook for syntax errors without running it.

ansible-playbook site.yml --syntax-check

Official Ansible 2 documentation

More playbooks commands

All playbooks commands · Ansible 2 cheatsheet

Was this page helpful?