mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
AC-1040 Use new method in inventory import to create inventory update from inventory source.
This commit is contained in:
parent
9ab6f3cbf6
commit
21c8126838
@ -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(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user