ansible-role-workflows-common/tasks/main.yaml

15 lines
338 B
YAML
Raw Normal View History

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