Skip to content

Commit c39db13

Browse files
committed
Added ANSIBLE_COLLECTIONS_PATH variable
1 parent 7fb3af4 commit c39db13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/tasks/LocalJob.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,9 @@ func (t *LocalJob) Run(username string, incomingVersion *string, alias string) (
484484

485485
if util.Config.UsePersonalTaskRoles {
486486
environmentVariables = append(environmentVariables,
487-
fmt.Sprintf("ANSIBLE_ROLES_PATH=%s", util.Config.FullPathToPersonalTaskRoles(t.Task.ID)))
487+
fmt.Sprintf("ANSIBLE_ROLES_PATH=%s", util.Config.FullPathToPersonalTaskRoles(t.Task.ID)),
488+
fmt.Sprintf("ANSIBLE_COLLECTIONS_PATH=%s", util.Config.FullPathToPersonalTaskRoles(t.Task.ID)),
489+
)
488490
}
489491

490492
params, err := t.getParams()

0 commit comments

Comments
 (0)