generalized

This commit is contained in:
Marco Lettere 2020-11-19 11:25:33 +01:00
parent 8b542dae3a
commit 5d0c5567f0
1 changed files with 2 additions and 4 deletions

View File

@ -2,16 +2,14 @@
- name: Generate workflows
template:
src: "templates/{{ item }}.json.j2"
#dest: "{{ target_path }}/{{ item }}.json"
dest: "{{ item }}.json"
dest: "{{ target_path }}{{ item }}.json"
loop: "{{ workflows }}"
- name: Upload workflows
uri:
url: "{{ conductor_workflowdef_endpoint }}"
method: POST
#src: "{{ target_path }}/{{ item }}.json"
src: "{{ item }}.json"
src: "{{ target_path }}{{ item }}.json"
body_format: json
follow_redirects: yes
status_code: [200, 204, 409]