mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 00:07:40 -02:30
Disable extra actions on save for inventory sources when running inventory import.
This commit is contained in:
@@ -1177,6 +1177,8 @@ class Command(NoArgsCommand):
|
||||
self.all_group.debug_tree()
|
||||
|
||||
# Merge/overwrite inventory into database.
|
||||
if settings.SQL_DEBUG:
|
||||
self.logger.warning('loading into database...')
|
||||
with ignore_inventory_computed_fields():
|
||||
if getattr(settings, 'ACTIVITY_STREAM_ENABLED_FOR_INVENTORY_SYNC', True):
|
||||
self.load_into_database()
|
||||
|
||||
Reference in New Issue
Block a user