I am implementing below task and it throwing me HTTP Error: 400 Bad Request
FAILED! => {
“changed”: false,
“dest”: “/tmp”,
“failed”: true,
“gid”: 0,
“group”: “root”,
“invocation”: {
“module_args”: {
“backup”: false,
“checksum”: “md5:a33bdf347d40110c6d64d100fabc056d”,
“content”: null,
“delimiter”: null,
“dest”: “/tmp”,
“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”: “”,
“unsafe_writes”: null,
“url”: “https://backstage.forgerock.com/downloads/OpenDJ/OpenDJ Enterprise/3.0.0/OpenDJ 3 Zip/OpenDJ-3.0.0.zip”,
“url_password”: “password”,
“url_username”: “user”,
“use_proxy”: true,
“validate_certs”: true
},
“module_name”: “get_url”
},
“mode”: “01777”,
“msg”: “Request failed”,
“owner”: “root”,
“response”: “HTTP Error 400: Bad request”,
“size”: 4096,
“state”: “directory”,
“status_code”: 400,
“uid”: 0,
“url”: “http://backstage.forgerock.com/downloads/OpenDJ/OpenDJ Enterprise/3.0.0/OpenDJ 3 Zip/OpenDJ-3.0.0.zip”
}
I appreciate any help.
Thanks
Shyam