mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 07:19:20 +01:00
fix(ansible): use correct path for ansible galaxy
This commit is contained in:
parent
9380bc351e
commit
c76f04a39b
@ -137,7 +137,7 @@ func (t *AnsibleApp) installRolesRequirements() (err error) {
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
err = t.installGalaxyRequirementsFile(GalaxyRole, path.Join(t.getRepoPath(), "roles", "requirements.yml"))
|
||||
err = t.installGalaxyRequirementsFile(GalaxyRole, path.Join(t.GetPlaybookDir(), "requirements.yml"))
|
||||
return
|
||||
}
|
||||
|
||||
@ -146,7 +146,7 @@ func (t *AnsibleApp) installCollectionsRequirements() (err error) {
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
err = t.installGalaxyRequirementsFile(GalaxyCollection, path.Join(t.getRepoPath(), "collections", "requirements.yml"))
|
||||
err = t.installGalaxyRequirementsFile(GalaxyCollection, path.Join(t.GetPlaybookDir(), "requirements.yml"))
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user