I am unable to download a file from ftp site. my yml file is as below
My /etc/ansible/hosts file contains a remote host name where the Agent directory is already present
fatal: [
remote-host.net]: FAILED! => {"changed": false, "dest": "/Agent/agent.tar", "failed": true, "invocation": {"module_args": {"backup": false, "checksum": "", "content": null, "delimiter": null, "dest": "/Agent/agent.tar", "directory_mode": null, "follow": false, "force": false, "force_basic_auth": false, "group": null, "headers": null, "http_agent": "ansible-httpget", "mode": null, "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "sha256sum": "", "src": null, "timeout": 10, "tmp_dest": "", "url": "
ftp://ftp:f...@site.com/pub/PRODUCTS/MR/12.22_MR/product.tar", "url_password": null, "url_username": null, "use_proxy": false, "validate_certs": false}, "module_name": "get_url"}, "msg": "Request failed", "response": "OK (817817600 bytes)", "state": "absent", "status_code": null, "url": "
ftp://ftp:f...@site.com/pub/PRODUCTS/MR/12.22_MR/product.tar"}