Merge pull request #524 from AlanCoding/yaml_devel

Allow job_template launch to store YAML extra_vars
This commit is contained in:
Alan Rominger
2016-01-14 12:31:23 -05:00
3 changed files with 31 additions and 6 deletions

View File

@@ -18,10 +18,11 @@ The response will include the following fields:
associated with the job template. If not then one should be supplied when
launching the job (boolean, read-only)
Make a POST request to this resource to launch the job_template. If any
passwords or variables are required, they must be passed via POST data.
If `credential_needed_to_start` is `True` then the `credential` field is
required as well.
Make a POST request to this resource to launch the job_template. If any
passwords or extra variables (extra_vars) are required, they must be passed
via POST data, with extra_vars given as a YAML or JSON string and escaped
parentheses. If `credential_needed_to_start` is `True` then the `credential`
field is required as well.
If successful, the response status code will be 202. If any required passwords
are not provided, a 400 status code will be returned. If the job cannot be