Skip to content

Commit

Permalink
fix(ansible): use correct path for ansible galaxy
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Oct 21, 2024
1 parent 9380bc3 commit c76f04a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db_lib/AnsibleApp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -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
}

Expand Down

0 comments on commit c76f04a

Please sign in to comment.