# Can't set username to establish ssh connection.

**URL:** <https://forum.ansible.com/t/cant-set-username-to-establish-ssh-connection/20986>\
**Category:** Ansible Project\
**Created:** [March 25, 2016, 12:40pm UTC](https://forum.ansible.com/t/cant-set-username-to-establish-ssh-connection/20986 "2016-03-25T12:40:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Lomov](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@Alexander\_Lomov](https://forum.ansible.com/u/Alexander_Lomov)\
**Post date:** [March 25, 2016, 12:40pm UTC](https://forum.ansible.com/t/cant-set-username-to-establish-ssh-connection/20986/1 "2016-03-25T12:40:10Z")

</div>

Hey, all.

Recently, I’ve updated my role to use Ansible 2.0. After that I failed to use ssh connection, I could only apply my role using ansible\_connection=ssh.

I’ve created a github issue with description of this problem: [https://github.com/ansible/ansible/issues/15139](https://github.com/ansible/ansible/issues/15139)

Do you have any idea of how to debug/solve this problem?

Thank you.
