# no password supply

**URL:** <https://forum.ansible.com/t/no-password-supply/16664>\
**Category:** Ansible Project\
**Created:** [November 2, 2014, 12:49pm UTC](https://forum.ansible.com/t/no-password-supply/16664 "2014-11-02T12:49:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diogene\_Laerce](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@Diogene\_Laerce](https://forum.ansible.com/u/Diogene_Laerce)\
**Post date:** [November 2, 2014, 12:49pm UTC](https://forum.ansible.com/t/no-password-supply/16664/1 "2014-11-02T12:49:37Z")

</div>

Hi,

I try to run this in a dedicated playbook test.yml :

---

<div class="post-metadata">

**Author:** ![Diogene\_Laerce](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@Diogene\_Laerce](https://forum.ansible.com/u/Diogene_Laerce)\
**Post date:** [November 2, 2014, 1:30pm UTC](https://forum.ansible.com/t/no-password-supply/16664/2 "2014-11-02T13:30:33Z")

</div>

Ok I didn't see that the syntax had changed.

Thank you

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [November 3, 2014, 2:18pm UTC](https://forum.ansible.com/t/no-password-supply/16664/3 "2014-11-03T14:18:35Z")

</div>

“Ok I didn’t see that the syntax had changed.”

I’m not following the above. What did you do to get around the above?

---

<div class="post-metadata">

**Author:** ![Diogene\_Laerce](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@Diogene\_Laerce](https://forum.ansible.com/u/Diogene_Laerce)\
**Post date:** [November 3, 2014, 4:26pm UTC](https://forum.ansible.com/t/no-password-supply/16664/4 "2014-11-03T16:26:06Z")

</div>

I replaced all sudo lines with the login\_user and login\_password to use to  
connect/authenticate to the database.

I guess that this is alright to use if the file holding the variables  
has got  
restricted permissions. I didn't test yet but 440 should do.
