load tasks/vars includes in syntax-check mode as well

This commit is contained in:
Michael Vogt 2013-10-28 13:48:50 +01:00
parent 3722bebb1d
commit 0b82722484

View file

@ -158,7 +158,7 @@ def main(args):
diff=options.diff diff=options.diff
) )
if options.listhosts or options.listtasks: if options.listhosts or options.listtasks or options.syntax:
print '' print ''
print 'playbook: %s' % playbook print 'playbook: %s' % playbook
print '' print ''