URI module has not implemented auth yet? Not yet finished?
37 views
Skip to first unread message
Joaquin Menchaca
unread,
Apr 3, 2017, 11:18:02 PM4/3/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hello.
I cannot get uri module to do authentication management with user: and password: key:value pairs.
It seems the underlying command does not have the auth info, so it cannot deal with the 401, so the higher level must deal with it. It doesn't do that, so it looks like the uri module has not implemented it.
Any ETA when basic auth functionality will be implemented?
FAILING SNIPPET 1
- name: Get License and Fail uri: url: http://127.0.0.1:{{ rt_port }}/{{ rt_route.licenses }} method: GET user: "{{ rt_admin.user }}" passwd: "{{ rt_admin.password }}" force_basic_auth: yes return_content: yes
ACTUAL RESULTS 1 (FAILURE)
With forced auth, it tries it immediately, then fails with 401. Without forced auth, tries without any auth, and just completely fails.