diff options
Diffstat (limited to 'docs/docsite/rst/playbooks_intro.rst')
-rw-r--r-- | docs/docsite/rst/playbooks_intro.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/docsite/rst/playbooks_intro.rst b/docs/docsite/rst/playbooks_intro.rst index 6be2c1826e..adeb5cbfd4 100644 --- a/docs/docsite/rst/playbooks_intro.rst +++ b/docs/docsite/rst/playbooks_intro.rst @@ -453,6 +453,9 @@ There's also a `clever playbook <https://github.com/ansible/ansible-examples/blo Tips and Tricks ``````````````` +To check the syntax of a playbook, use ``ansible-playbook`` with the ``--syntax-check`` flag. This will run the +playbook file through the parser to ensure its included files, roles, etc. have no syntax problems. + Look at the bottom of the playbook execution for a summary of the nodes that were targeted and how they performed. General failures and fatal "unreachable" communication attempts are kept separate in the counts. |