2020-11-18 17:46:04 +01:00
|
|
|
---
|
|
|
|
- name: Generate taskdefs
|
|
|
|
template:
|
|
|
|
src: "templates/taskdefs.json.j2"
|
2020-11-19 11:23:39 +01:00
|
|
|
dest: "{{ target_path }}taskdefs.json"
|
2020-11-18 17:46:04 +01:00
|
|
|
|
|
|
|
- name: Upload task definitions
|
|
|
|
uri:
|
|
|
|
url: "{{ conductor_taskdef_endpoint }}"
|
|
|
|
method: POST
|
2020-11-19 11:23:39 +01:00
|
|
|
src: "{{ target_path }}taskdefs.json"
|
2020-11-18 17:46:04 +01:00
|
|
|
body_format: json
|
|
|
|
status_code: 204
|
|
|
|
follow_redirects: yes
|