generalized
This commit is contained in:
parent
901f8b8de8
commit
6af1aa31a8
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
target_path: "/tmp/workflows"
|
||||
#target_path: "/tmp/workflows/"
|
||||
target_path: ""
|
||||
conductor_server: "http://conductor-dev.int.d4science.net/api"
|
||||
conductor_workflowdef_endpoint: "{{ conductor_server }}/metadata/workflow"
|
||||
conductor_taskdef_endpoint: "{{ conductor_server }}/metadata/taskdefs"
|
||||
|
|
|
@ -2,15 +2,13 @@
|
|||
- name: Generate taskdefs
|
||||
template:
|
||||
src: "templates/taskdefs.json.j2"
|
||||
#dest: "{{ target_path }}/taskdefs.json"
|
||||
dest: "taskdefs.json"
|
||||
dest: "{{ target_path }}taskdefs.json"
|
||||
|
||||
- name: Upload task definitions
|
||||
uri:
|
||||
url: "{{ conductor_taskdef_endpoint }}"
|
||||
method: POST
|
||||
#src: "{{ target_path }}/taskdefs.json"
|
||||
src: "taskdefs.json"
|
||||
src: "{{ target_path }}taskdefs.json"
|
||||
body_format: json
|
||||
status_code: 204
|
||||
follow_redirects: yes
|
||||
|
|
Loading…
Reference in New Issue