Hi,
I am trying to print the return values from the get_url module using the yaml code below:
-
name: connect to server and download file
get_url:
url: http://10.0.0.2/file1.html
register: all_data -
name: print time it took to transfer file
debug:
var: all_data
However, it always fails with the following error:
TASK [connect to server and download file] ***************************************************************
fatal: [node1]: FAILED! => {“changed”: false, “msg”: “Unsupported parameters for (get_url) module: register Supported parameters include: attributes, backup, checksum, client_cert, client_key, content, delimiter, dest, directory_mode, follow, force, force_basic_auth, group, headers, http_agent, mode, owner, regexp, remote_src, selevel, serole, setype, seuser, sha256sum, src, timeout, tmp_dest, unsafe_writes, url, url_password, url_username, use_proxy, validate_certs”}
How do i get the return values for the module?
thank you