# sudo localhost mac failure yosemite

**URL:** <https://forum.ansible.com/t/sudo-localhost-mac-failure-yosemite/18175>\
**Category:** Ansible Project\
**Created:** [May 6, 2015, 7:21pm UTC](https://forum.ansible.com/t/sudo-localhost-mac-failure-yosemite/18175 "2015-05-06T19:21:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_Palmer](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@Eric\_Palmer](https://forum.ansible.com/u/Eric_Palmer)\
**Post date:** [May 6, 2015, 7:21pm UTC](https://forum.ansible.com/t/sudo-localhost-mac-failure-yosemite/18175/1 "2015-05-06T19:21:06Z")

</div>

I have a set of playbooks that sets up a development env on mac os x. It worked until Yosemite.

the playbooks won’t prompt for the sudo password

I have sshpass installed and it passes sshpass -V

This simple script shows what happens.

`

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [May 6, 2015, 7:22pm UTC](https://forum.ansible.com/t/sudo-localhost-mac-failure-yosemite/18175/2 "2015-05-06T19:22:50Z")

</div>

check current devel, just fix bug that ask\_sudo\_pass in ansible.cfg  
was not honored in 1.9.

---

<div class="post-metadata">

**Author:** ![Eric\_Palmer1](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@Eric\_Palmer1](https://forum.ansible.com/u/Eric_Palmer1)\
**Post date:** [May 6, 2015, 7:24pm UTC](https://forum.ansible.com/t/sudo-localhost-mac-failure-yosemite/18175/3 "2015-05-06T19:24:06Z")

</div>

Thanks Brian for the fast resonse

is it possible to get it via homebrew and how would I do that. I can use macports or pip or other though I prefer homebrew.

Eric

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [May 6, 2015, 7:25pm UTC](https://forum.ansible.com/t/sudo-localhost-mac-failure-yosemite/18175/4 "2015-05-06T19:25:39Z")

</div>

none of the above? git clone is best way to checkout current repo. We  
actually do not encourage using homebrew as it breaks many things with  
the way it patches/manages ansible.
