mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(region): avoid duplicate playbook names
This commit is contained in:
@@ -491,7 +491,7 @@ func (guest *SGuest) PerformMakeSshable(
|
||||
|
||||
cliSess := auth.GetSession(ctx, userCred, "", "")
|
||||
pbId := ""
|
||||
pbName := "make-sshable-" + guest.Name
|
||||
pbName := "make-sshable-" + guest.Id
|
||||
pbModel, err := mcclient_modules.AnsiblePlaybooks.UpdateOrCreatePbModel(
|
||||
ctx, cliSess, pbId, pbName, pb,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user