Regarding_get_url

15 views
Skip to first unread message

Kavin

unread,
Apr 24, 2018, 2:13:10 PM4/24/18
to Ansible Project
Hi,
I was trying to download the files from ftp with username and password but I was getting the below mentioned error.


"url": "ftp://us...@ftp.xxxx/internal/DevOps/eagle/",
            "url_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "url_username": "user",
            "use_proxy": true,
            "validate_certs": true
        }
    },
    "mode": "0755",
    "msg": "Request failed: <urlopen error ftp error: 530 User cannot log in.>",
    "owner": "root",
    "size": 4096,
    "state": "directory",
    "uid": 0,
    "url": "ftp://us...@ftp.xxxx/internal/DevOps/eagle/"

-------------------------------------------------------------------------------------------------------

Yml file

- name: FTP
    get_url:
     url: ftp://us...@ftp.xxxx/internal/DevOps/eagle/
#     force_basic_auth: true
     url_username: xxxxx
     url_password: xxxxx
#     use_proxy: true



Reply all
Reply to author
Forward
0 new messages