From 5d0c5567f02217a44c6b208010a97f4b477a6d75 Mon Sep 17 00:00:00 2001 From: Marco Lettere Date: Thu, 19 Nov 2020 11:25:33 +0100 Subject: [PATCH] generalized --- tasks/main.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index cbfb243..1b92d10 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -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]