My domain proxy requires user name and password, How to configure it in Ansible Play

Hi,

My domain proxy requires user name and password, How to configure it in Ansible Play

I have configured the proxy in my playbook as below -

vars:
proxy_env:
http_proxy: webproxy.mydomain.com:8080

But I can’t find how to configure the User name and Password for proxy server (AD) authentication.

Please help.