# Documenting ansible\_ssh\_pass

**URL:** <https://forum.ansible.com/t/documenting-ansible-ssh-pass/12500>\
**Category:** Ansible Project\
**Created:** [March 14, 2013, 10:39am UTC](https://forum.ansible.com/t/documenting-ansible-ssh-pass/12500 "2013-03-14T10:39:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tin\_Tvrtkovic](https://avatars.discourse-cdn.com/v4/letter/t/bc8723/32.png) [@Tin\_Tvrtkovic](https://forum.ansible.com/u/Tin_Tvrtkovic)\
**Post date:** [March 14, 2013, 10:39am UTC](https://forum.ansible.com/t/documenting-ansible-ssh-pass/12500/1 "2013-03-14T10:39:15Z")

</div>

Hi,

I needed to be able to specify the ssh password for ansible-playbook on the command line, and came across this pull request: [https://github.com/ansible/ansible/pull/1825](https://github.com/ansible/ansible/pull/1825). This patch describes a way of specifying the password in the hosts file, with the ansible\_ssh\_pass property, which is even better. And it works on 1.1. But the documentation makes no note of this, [http://ansible.cc/docs/patterns.html#hosts-and-groups](http://ansible.cc/docs/patterns.html#hosts-and-groups) mentions new 1.1 features, but only the connection type and user.

Is this just not documented, or is this feature slated for removal? This is extremely useful for our integration testing, where I can basically generate the hosts file based on our VM setup and just feed it to Ansible.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [March 14, 2013, 1:44pm UTC](https://forum.ansible.com/t/documenting-ansible-ssh-pass/12500/2 "2013-03-14T13:44:45Z")

</div>

It's just not documented.

Please send me a pull request.

---

<div class="post-metadata">

**Author:** ![Tin\_Tvrtkovic](https://avatars.discourse-cdn.com/v4/letter/t/bc8723/32.png) [@Tin\_Tvrtkovic](https://forum.ansible.com/u/Tin_Tvrtkovic)\
**Post date:** [March 16, 2013, 2:36pm UTC](https://forum.ansible.com/t/documenting-ansible-ssh-pass/12500/3 "2013-03-16T14:36:16Z")

</div>

[https://github.com/ansible/ansible/pull/2399](https://github.com/ansible/ansible/pull/2399)

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [March 17, 2013, 1:10am UTC](https://forum.ansible.com/t/documenting-ansible-ssh-pass/12500/4 "2013-03-17T01:10:56Z")

</div>

Thank you!
