mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/yunionio/cloudpods.git
synced 2026-09-20 08:03:53 +08:00
fix(ansibleserver): force sleep 50s before running
This commit is contained in:
@@ -149,8 +149,8 @@ func (apb *SAnsiblePlaybookV2) runPlaybook(ctx context.Context, userCred mcclien
|
||||
return fmt.Errorf("playbook is already running")
|
||||
}
|
||||
|
||||
// hack: force Sleep 15s to wait some host ssh service started
|
||||
time.Sleep(15 * time.Second)
|
||||
// hack: force Sleep 50s to wait some host ssh service started
|
||||
time.Sleep(50 * time.Second)
|
||||
|
||||
var (
|
||||
privateKey string
|
||||
|
||||
Reference in New Issue
Block a user