# Ansible synchronize not using the right user

**URL:** <https://forum.ansible.com/t/ansible-synchronize-not-using-the-right-user/20878>\
**Category:** Ansible Project\
**Created:** [March 15, 2016, 11:34pm UTC](https://forum.ansible.com/t/ansible-synchronize-not-using-the-right-user/20878 "2016-03-15T23:34:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chechu\_Santander](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@Chechu\_Santander](https://forum.ansible.com/u/Chechu_Santander)\
**Post date:** [March 15, 2016, 11:34pm UTC](https://forum.ansible.com/t/ansible-synchronize-not-using-the-right-user/20878/1 "2016-03-15T23:34:54Z")

</div>

hey guys,

I’m trying to use synchronize module on Ansible, my inventory file has set the ssh\_user and ssh\_password…and it works, but with synchronize uses the user of my laptop to connnect no the one from the inventory, also it asks for the password…

any idea?

thanks
