mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Fix rel path for other inventories
This commit is contained in:
@@ -2465,7 +2465,8 @@ class RunInventoryUpdate(BaseTask):
|
||||
f.write(content)
|
||||
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':
|
||||
rel_path = os.path.join('project', inventory_update.source_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user