1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

Update doc template for system job launching

This commit is contained in:
Matthew Jones 2015-06-04 14:16:08 -04:00
parent 01fc6ff8c6
commit 80dddfddc5

View File

@ -3,8 +3,19 @@ Launch a 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
to the system job task. For example: `{"days": 30}` to perform the action on
items older than 30 days.
to the system job task.
For example on `cleanup_jobs`, `cleanup_deleted`, and `cleanup_activitystream`:
`{"days": 30}`
Which will act on data older than 30 days.
For `cleanup_facts`:
`{"older_than": "4w", `granularity`: "3d"}`
Which will reduce the granularity of scan data to one scan per 3 days when the data is older than 4w.
If successful, the response status code will be 202. If the job cannot be
launched, a 405 status code will be returned.