hello i can’t run a task from my playbook it gives a msg like below
“msg”: “Unsupported parameters for (ansible.legacy.uri) module: register. Supported parameters include: remote_src, selevel, http_agent, attributes (attr), follow_redirects, force, owner, src, unredirected_headers, url_username (user), return_content, ca_path, force_basic_auth, creates, status_code, unsafe_writes, use_gssapi, use_proxy, mode, group, serole, body_format, url_password (password), dest, url, client_cert, headers, body, timeout, unix_socket, method, removes, client_key, setype, seuser, validate_certs.”,
this what im using to push my binary to my repos nexus
- name: “Push job | push new package to nexus”
uri:
url: “{{ binary.ARTI_path }}”
method: PUT
src: “/tmp/{{ ARTI_file }}”
remote_src: true
user: “{{ ARTI_USER }}”
password: “{{ ARTI_PASS }}”
force_basic_auth: true
headers:
Content-Type: “text/plain”
status_code: 201
register: output_confupdater_script
failed_when: False