mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
load tasks/vars includes in syntax-check mode as well
This commit is contained in:
parent
3722bebb1d
commit
0b82722484
1 changed files with 1 additions and 1 deletions
|
@ -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 ''
|
||||
|
|
Loading…
Reference in a new issue