Merge pull request #4706 from mvo5/bugfix/more-syntax-check

load tasks/vars includes in syntax-check mode as well
This commit is contained in:
jctanner 2013-11-14 09:46:54 -08:00
commit 189ec15bd5

View file

@ -159,7 +159,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 ''