mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 00:57:48 -02:30
Fix rel path for other inventories
This commit is contained in:
@@ -2465,7 +2465,8 @@ class RunInventoryUpdate(BaseTask):
|
|||||||
f.write(content)
|
f.write(content)
|
||||||
os.chmod(inventory_path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)
|
os.chmod(inventory_path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)
|
||||||
|
|
||||||
rel_path = injector.filename
|
rel_path = os.path.join('inventory', injector.filename)
|
||||||
|
# rel_path = injector.filename
|
||||||
elif src == 'scm':
|
elif src == 'scm':
|
||||||
rel_path = os.path.join('project', inventory_update.source_path)
|
rel_path = os.path.join('project', inventory_update.source_path)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user