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

Solution Verified - Updated -

Issue

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

Environment

  • 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