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