mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
load tasks/vars includes in syntax-check mode as well
This commit is contained in:
@@ -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 ''
|
||||
|
||||
Reference in New Issue
Block a user