mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 21:37:42 -02:30
AC-575 Updated logging/output for inventory_import command.
This commit is contained in:
@@ -805,7 +805,8 @@ class RunInventoryUpdate(BaseTask):
|
||||
args.append(rax_path)
|
||||
elif inventory_source.source == 'file':
|
||||
args.append(inventory_source.source_path)
|
||||
args.append('-v2')
|
||||
verbosity = getattr(settings, 'INVENTORY_UPDATE_VERBOSITY', 1)
|
||||
args.append('-v%d' % verbosity)
|
||||
if settings.DEBUG:
|
||||
args.append('--traceback')
|
||||
return args
|
||||
|
||||
Reference in New Issue
Block a user