mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 11:27:36 -02:30
Fix collection precedence bug, add new to left of list
This commit is contained in:
@@ -1472,8 +1472,8 @@ class RunJob(BaseTask):
|
|||||||
if env_key in env:
|
if env_key in env:
|
||||||
for path in env[env_key].split(':'):
|
for path in env[env_key].split(':'):
|
||||||
if path not in paths:
|
if path not in paths:
|
||||||
paths.append(env[env_key])
|
paths = [env[env_key]] + paths
|
||||||
paths.append(os.path.join(private_data_dir, folder))
|
paths = [os.path.join(private_data_dir, folder)] + paths
|
||||||
env[env_key] = os.pathsep.join(paths)
|
env[env_key] = os.pathsep.join(paths)
|
||||||
|
|
||||||
return env
|
return env
|
||||||
|
|||||||
Reference in New Issue
Block a user