Skip to content

Instantly share code, notes, and snippets.

@alces
Created April 9, 2017 20:25
Show Gist options
  • Save alces/fafc4bbb389cc7e2c2f3b93d148ee34c to your computer and use it in GitHub Desktop.
Save alces/fafc4bbb389cc7e2c2f3b93d148ee34c to your computer and use it in GitHub Desktop.
How to check whether a given Ansible playbook is syntaxically correct
ansible-playbook -i localhost, --syntax-check my-playbook.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment