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

**URL:** <https://forum.ansible.com/t/my-domain-proxy-requires-user-name-and-password-how-to-configure-it-in-ansible-play/23703>\
**Category:** Ansible Project\
**Created:** [February 10, 2017, 12:55pm UTC](https://forum.ansible.com/t/my-domain-proxy-requires-user-name-and-password-how-to-configure-it-in-ansible-play/23703 "2017-02-10T12:55:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dwarika\_Prasad](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@Dwarika\_Prasad](https://forum.ansible.com/u/Dwarika_Prasad)\
**Post date:** [February 10, 2017, 12:55pm UTC](https://forum.ansible.com/t/my-domain-proxy-requires-user-name-and-password-how-to-configure-it-in-ansible-play/23703/1 "2017-02-10T12:55:56Z")

</div>

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](http://webproxy.mydomain.com:8080)_

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

Please help.
