diff --git a/bin/ansible-playbook b/bin/ansible-playbook index 545f07f587a..37d2d816fee 100755 --- a/bin/ansible-playbook +++ b/bin/ansible-playbook @@ -158,7 +158,7 @@ def main(args): diff=options.diff ) - if options.listhosts or options.listtasks: + if options.listhosts or options.listtasks or options.syntax: print '' print 'playbook: %s' % playbook print ''