mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
AC-1040 Use new method in inventory import to create inventory update from inventory source.
This commit is contained in:
@@ -517,7 +517,7 @@ class Command(NoArgsCommand):
|
||||
overwrite_vars=self.overwrite_vars,
|
||||
active=True,
|
||||
)
|
||||
self.inventory_update = self.inventory_source.inventory_updates.create(
|
||||
self.inventory_update = self.inventory_source.create_inventory_update(
|
||||
job_args=json.dumps(sys.argv),
|
||||
job_env=dict(os.environ.items()),
|
||||
job_cwd=os.getcwd(),
|
||||
|
||||
Reference in New Issue
Block a user