mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-21 15:31:48 -05:00
move credential to prompt-for mechanism
This commit is contained in:
@@ -6,6 +6,16 @@ The response will include the following fields:
|
||||
|
||||
* `ask_variables_on_launch`: Flag indicating whether the job_template is
|
||||
configured to prompt for variables upon launch (boolean, read-only)
|
||||
* `ask_tags_on_launch`: Flag indicating whether the job_template is
|
||||
configured to prompt for tags upon launch (boolean, read-only)
|
||||
* `ask_job_type_on_launch`: Flag indicating whether the job_template is
|
||||
configured to prompt for job_type upon launch (boolean, read-only)
|
||||
* `ask_limit_on_launch`: Flag indicating whether the job_template is
|
||||
configured to prompt for limit upon launch (boolean, read-only)
|
||||
* `ask_inventory_on_launch`: Flag indicating whether the job_template is
|
||||
configured to prompt for limit upon launch (boolean, read-only)
|
||||
* `ask_credential_on_launch`: Flag indicating whether the job_template is
|
||||
configured to prompt for limit upon launch (boolean, read-only)
|
||||
* `can_start_without_user_input`: Flag indicating if the job_template can be
|
||||
launched without user-input (boolean, read-only)
|
||||
* `passwords_needed_to_start`: Password names required to launch the
|
||||
@@ -17,13 +27,19 @@ The response will include the following fields:
|
||||
* `credential_needed_to_start`: Flag indicating the presence of a credential
|
||||
associated with the job template. If not then one should be supplied when
|
||||
launching the job (boolean, read-only)
|
||||
* `inventory_needed_to_start`: Flag indicating the presence of an inventory
|
||||
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 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.
|
||||
passwords, inventory, 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 and if the `inventory_needed_to_start` is
|
||||
`True` then the `inventory` is required as well.
|
||||
|
||||
If successful, the response status code will be 202. If any required passwords
|
||||
If successful, the response status code will be 201. If any required passwords
|
||||
are not provided, a 400 status code will be returned. If the job cannot be
|
||||
launched, a 405 status code will be returned.
|
||||
launched, a 405 status code will be returned. If the provided credential or
|
||||
inventory are not allowed to be used by the user, then a 403 status code will
|
||||
be returned.
|
||||
|
||||
Reference in New Issue
Block a user