- name: add ssh key to stash via api
uri:
url: "{{stash_api_url}}"
method: POST
body: '{"text": "value"}'
body_format: json
status_code: 201
HEADER_Content-Type: "application/json"
register: ssh_key_added_to_stash
ERROR: body is not a legal parameter in an Ansible task or handler Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again.