aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/rundeck.yml
diff options
context:
space:
mode:
authorpaulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com>2018-11-12 17:12:46 +0100
committerGitHub <noreply@github.com>2018-11-12 17:12:46 +0100
commit27709038652a4f377e46cbba559e5ed0e199f59e (patch)
tree36550b923e63579291410c46f549d8d3766f1012 /tasks/rundeck.yml
parentfb709e4184878f595d4bc1f2463d54b826ef4696 (diff)
parent0435d3bffd503948f371228ad03370b717274e41 (diff)
downloadansible-rundeck-jobs-27709038652a4f377e46cbba559e5ed0e199f59e.tar.gz
ansible-rundeck-jobs-27709038652a4f377e46cbba559e5ed0e199f59e.tar.zst
ansible-rundeck-jobs-27709038652a4f377e46cbba559e5ed0e199f59e.zip
Merge pull request #4 from paulrbr-fl/fix-bad-syntaxv0.3
fix: too many double quotes got Ansible unhappy 🥴
Diffstat (limited to 'tasks/rundeck.yml')
-rw-r--r--tasks/rundeck.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/tasks/rundeck.yml b/tasks/rundeck.yml
index 0da33d0..7852999 100644
--- a/tasks/rundeck.yml
+++ b/tasks/rundeck.yml
@@ -21,11 +21,13 @@
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?groupPathExact={{ rundeck_jobs_group | default('""') }}" 24 url: "{{rundeck_api_url }}/{{rundeck_api_version}}/project/{{ rundeck_project }}/jobs?groupPathExact={{ rundeck_jobs_group | default(rundeck_empty_group_path) }}"
25 method: GET 25 method: GET
26 headers: 26 headers:
27 Accept: application/json 27 Accept: application/json
28 X-Rundeck-Auth-Token: "{{ rundeck_api_token }}" 28 X-Rundeck-Auth-Token: "{{ rundeck_api_token }}"
29 vars:
30 rundeck_empty_group_path: '""'
29 register: rundeck_existing_jobs 31 register: rundeck_existing_jobs
30 when: rundeck_remove_missing 32 when: rundeck_remove_missing
31 33