Added ansible limit to args, again

This commit is contained in:
Jordan Hayes 2022-02-10 12:01:42 -08:00
parent d2b9b856c8
commit 1f4c8c1c76

View File

@ -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())
}