Я хочу преобразовать URL-адрес html в модуль ansible uri, когда я загружаю его в браузер, он дает результаты, но из модуля uri я получаю ошибки
Мой URL: -
https://rally1.rallydev.com/slm/webservice/v2.0/user?query=(FirstName = test1) & fetch = true
Ansible модуль URI: -
uri:
url: https://rally1.rallydev.com/slm/webservice/v2.0/user?query=(FirstName = "test1")&fetch=true
user: myusername
password: mypass
force_basic_auth: yes
follow_redirects: all
return_content: yes
method: GET
register: get_data
- debug: var=get_data
Я получаю эту ошибку: -
fatal: [localhost]: FAILED! => {"cache_control": "no-cache", "cf_ray": "4dd5a65fea0cba46-ATL", "changed": false, "connection": "close", "content": "<html><body><h1>400 Bad request</h1>\nYour browser sent an invalid request.\n</body></html>\n", "content_type": "text/html", "date": "Mon, 27 May 2019 05:39:42 GMT",
Пожалуйста, помогите