get_url module failed when we download file from ftp with username and password

194 views
Skip to first unread message

pawan kumar

unread,
Jun 1, 2016, 8:43:05 AM6/1/16
to Ansible Project
fatal: [192.168.0.111]: FAILED! => {"changed": false, "dest": "/root/", "failed": true, "gid": 0, "group": "root", "mode": "0755", "msg": "Request failed", "owner": "root", "response": "OK (unknown bytes)", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 4096, "state": "directory", "status_code": null, "uid": 0, "url": "ftp://username:pass...@121.221.2.210/files/contracts_info.zip"}

// when i run my yml file than it gives above like error how to fix the ftp to  download files.

Johannes Kastl

unread,
Jun 1, 2016, 9:43:59 AM6/1/16
to ansible...@googlegroups.com
On 01.06.16 11:25 pawan kumar wrote:

> // when i run my yml file than it gives above like error how to fix the ftp
> to download files.

As crystal balls are pretty hard to read, could you provide your yml
file (redacted, of course)?

Johannes

signature.asc
Reply all
Reply to author
Forward
0 new messages