diff options
author | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2018-11-02 11:35:30 +0100 |
---|---|---|
committer | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2018-11-02 11:35:30 +0100 |
commit | c3e54982f17b9fdbc732617898227c3b9dd1727b (patch) | |
tree | 1f59fa5475728b7fb766f9fc60b14a4a4f1d8104 /tasks/rundeck.yml | |
parent | 73fc6fec8fb5dd844fe8165061db2a82153900d9 (diff) | |
download | ansible-rundeck-jobs-c3e54982f17b9fdbc732617898227c3b9dd1727b.tar.gz ansible-rundeck-jobs-c3e54982f17b9fdbc732617898227c3b9dd1727b.tar.zst ansible-rundeck-jobs-c3e54982f17b9fdbc732617898227c3b9dd1727b.zip |
Add group filtering for jobs cleaning
Diffstat (limited to 'tasks/rundeck.yml')
-rw-r--r-- | tasks/rundeck.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/rundeck.yml b/tasks/rundeck.yml index 642abd6..0da33d0 100644 --- a/tasks/rundeck.yml +++ b/tasks/rundeck.yml | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | - name: Get all jobs | 22 | - name: Get all jobs |
23 | uri: | 23 | uri: |
24 | url: "{{rundeck_api_url }}/{{rundeck_api_version}}/project/{{ rundeck_project }}/jobs" | 24 | url: "{{rundeck_api_url }}/{{rundeck_api_version}}/project/{{ rundeck_project }}/jobs?groupPathExact={{ rundeck_jobs_group | default('""') }}" |
25 | method: GET | 25 | method: GET |
26 | headers: | 26 | headers: |
27 | Accept: application/json | 27 | Accept: application/json |