mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(ansibleserver): force sleep 15s before running playbook
This commit is contained in:
@@ -149,6 +149,9 @@ 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)
|
||||
|
||||
var (
|
||||
privateKey string
|
||||
err error
|
||||
|
||||
Reference in New Issue
Block a user