no temp dir
This commit is contained in:
parent
5d1fe1b178
commit
8b542dae3a
|
@ -2,14 +2,16 @@
|
|||
- name: Generate workflows
|
||||
template:
|
||||
src: "templates/{{ item }}.json.j2"
|
||||
dest: "{{ target_path }}/{{ item }}.json"
|
||||
#dest: "{{ target_path }}/{{ item }}.json"
|
||||
dest: "{{ item }}.json"
|
||||
loop: "{{ workflows }}"
|
||||
|
||||
- name: Upload workflows
|
||||
uri:
|
||||
url: "{{ conductor_workflowdef_endpoint }}"
|
||||
method: POST
|
||||
src: "{{ target_path }}/{{ item }}.json"
|
||||
#src: "{{ target_path }}/{{ item }}.json"
|
||||
src: "{{ item }}.json"
|
||||
body_format: json
|
||||
follow_redirects: yes
|
||||
status_code: [200, 204, 409]
|
||||
|
|
Loading…
Reference in New Issue