diff --git a/services/tasks/runner.go b/services/tasks/runner.go index f433180b..14fae508 100644 --- a/services/tasks/runner.go +++ b/services/tasks/runner.go @@ -672,6 +672,11 @@ func (t *TaskRunner) getPlaybookArgs() (args []string, err error) { args = append(args, "--check") } + if t.task.Limit != "" { + t.log("--limit="+t.task.Limit) + args = append(args, "--limit="+t.task.Limit) + } + if t.template.VaultKeyID != nil { args = append(args, "--vault-password-file", t.template.VaultKey.GetPath()) }