Я пытаюсь подключиться к ралли от Ansible.Для этого я использую модуль URI, а также создал ключ API от Rally.Моя задача: -
tasks:
- name: Get data
uri:
url: 'https://rally1.rallydev.com/slm/webservice/v2.0/subscription'
# headers:
# api_key: "myapikey"
user: myapikey
password:
follow_redirects: all
return_content: yes
status_code: 200
method: GET
register: get_data
- debug: var=get_data
Но я все еще получаю ошибку: -
"msg": "Status code was 401 and not [200]: HTTP Error 401: Full authentication is required to access this resource",
Не уверен, что я делаю неправильно.