Can I run the ansible-playbook option '--syntax-check' on a role?

Solution Verified - Updated -


  • The Ansible '--syntax-check' option only works for playbooks and not for roles. How can I get a syntax check done on a role?


  • Ansible Engine >= 2.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In