mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Fix collection precedence bug, add new to left of list
This commit is contained in:
parent
24c16b1c58
commit
11146a071f
@ -1472,8 +1472,8 @@ class RunJob(BaseTask):
|
||||
if env_key in env:
|
||||
for path in env[env_key].split(':'):
|
||||
if path not in paths:
|
||||
paths.append(env[env_key])
|
||||
paths.append(os.path.join(private_data_dir, folder))
|
||||
paths = [env[env_key]] + paths
|
||||
paths = [os.path.join(private_data_dir, folder)] + paths
|
||||
env[env_key] = os.pathsep.join(paths)
|
||||
|
||||
return env
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user