mirror of
https://github.com/ansible/awx.git
synced 2026-05-16 13:57:39 -02:30
Elaborate on system job default
This commit is contained in:
@@ -2,8 +2,9 @@ Launch a Job Template:
|
|||||||
|
|
||||||
Make a POST request to this resource to launch the system job template.
|
Make a POST request to this resource to launch the system job template.
|
||||||
|
|
||||||
An extra parameter `extra_vars` is suggested in order to pass extra parameters
|
Variables specified inside of the parameter `extra_vars` are passed to the
|
||||||
to the system job task.
|
system job task as command line parameters. These tasks can be ran manually
|
||||||
|
on the host system via the `tower-manage` command.
|
||||||
|
|
||||||
For example on `cleanup_jobs` and `cleanup_activitystream`:
|
For example on `cleanup_jobs` and `cleanup_activitystream`:
|
||||||
|
|
||||||
@@ -17,5 +18,13 @@ For `cleanup_facts`:
|
|||||||
|
|
||||||
Which will reduce the granularity of scan data to one scan per 3 days when the data is older than 4w.
|
Which will reduce the granularity of scan data to one scan per 3 days when the data is older than 4w.
|
||||||
|
|
||||||
|
Each individual system job task has its own default values, which are
|
||||||
|
applicable either when running it from the command line or launching its
|
||||||
|
system job template with empty `extra_vars`.
|
||||||
|
|
||||||
|
- Defaults for `cleanup_activitystream`: days=90
|
||||||
|
- Defaults for `cleanup_facts`: older_than="30d", granularity="1w"
|
||||||
|
- Defaults for `cleanup_jobs`: days=90
|
||||||
|
|
||||||
If successful, the response status code will be 202. If the job cannot be
|
If successful, the response status code will be 202. If the job cannot be
|
||||||
launched, a 405 status code will be returned.
|
launched, a 405 status code will be returned.
|
||||||
|
|||||||
Reference in New Issue
Block a user