Skip to content

Instantly share code, notes, and snippets.

@seak0503
Created September 9, 2016 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seak0503/db83b401090e4e1b8ac429b0b5be3c95 to your computer and use it in GitHub Desktop.
Save seak0503/db83b401090e4e1b8ac429b0b5be3c95 to your computer and use it in GitHub Desktop.
ansible playbookのsyntax check

構文

ansible-playbook -i イベントリファイル playbookファイル --syntax-check

実行例

$ ansible-playbook -i test-servers site.yml --syntax-check

playbook: site.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment