Remove extra unwanted assignment from line

Co-authored-by: Rick Elrod <rick@elrod.me>
This commit is contained in:
Alan Rominger 2023-01-18 10:38:12 -05:00 committed by GitHub
parent dd8c9f87a9
commit a5baee1b3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1528,7 +1528,7 @@ class RunInventoryUpdate(SourceControlMixin, BaseTask):
if inventory_update.inventory.kind == 'constructed':
for source_inventory in inventory_update.inventory.source_inventories.all():
args.append('-i')
script_params = script_params = dict(hostvars=True, towervars=True)
script_params = dict(hostvars=True, towervars=True)
source_inv_path = self.write_inventory_file(source_inventory, private_data_dir, f'hosts_{source_inventory.id}', script_params)
args.append(to_container_path(source_inv_path, private_data_dir))