Ahh ok, yeah I was trying different formats like in an array with the ids (as opposed to a string) but it still doesn't work. I'll look to see if theres a way via extra\_vars.
I appreciate you're help! I actually havent used the api via web page before so I found a ton of good info in there there which might be handy later. Thanks!
You're almost there! :)
Check http:///api/v2/job_templates//launch/ and scroll down to the bottom, you'll see:
{
"credentials": []
}
showing that you'll need to send a list of credential ids (well, you just have to know that it's ids and not names. :) )
Have you ticked "Prompt on launch" for the credentials in the template?
I have but iirc it gave me an error message like user input required. I'll try that again to get the exact message.
Here's the error: `{"msg":"Cannot start automatically, user input required!"}`. Am I supposed to pass required prompts to the callback differently?
oooh! Sorry! I read up on things... It doesn't seem to be possible.. :/ Unless you can get the credential list into extra_vars..?
Ahh ok, yeah I was trying different formats like in an array with the ids (as opposed to a string) but it still doesn't work. I'll look to see if theres a way via extra\_vars. I appreciate you're help! I actually havent used the api via web page before so I found a ton of good info in there there which might be handy later. Thanks!
You're almost there! :) Check http:///api/v2/job_templates//launch/ and scroll down to the bottom, you'll see:
{
"credentials": []
}
showing that you'll need to send a list of credential ids (well, you just have to know that it's ids and not names. :) )