# How to handle the password field of a Survey created on AWX Job Template on a Playbook?

**URL:** <https://forum.ansible.com/t/how-to-handle-the-password-field-of-a-survey-created-on-awx-job-template-on-a-playbook/26639>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [February 2, 2018, 11:18am UTC](https://forum.ansible.com/t/how-to-handle-the-password-field-of-a-survey-created-on-awx-job-template-on-a-playbook/26639 "2018-02-02T11:18:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Claudio\_Patricio\_Rif](https://avatars.discourse-cdn.com/v4/letter/c/53a042/32.png) [@Claudio\_Patricio\_Rif](https://forum.ansible.com/u/Claudio_Patricio_Rif)\
**Post date:** [February 2, 2018, 11:18am UTC](https://forum.ansible.com/t/how-to-handle-the-password-field-of-a-survey-created-on-awx-job-template-on-a-playbook/26639/1 "2018-02-02T11:18:43Z")

</div>

I’m trying to create a Template job to change an user password.  
The template job asks the user for a new password and this is sued on the playbook as new\_password.

I believe the password is passed to the Playbook encrypted and that is necessary to decrypt to use correctly on the user module.  
Is this right? How is it done?

---

<div class="post-metadata">

**Author:** ![Christopher\_Meyers](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@Christopher\_Meyers](https://forum.ansible.com/u/Christopher_Meyers)\
**Post date:** [February 2, 2018, 1:59pm UTC](https://forum.ansible.com/t/how-to-handle-the-password-field-of-a-survey-created-on-awx-job-template-on-a-playbook/26639/2 "2018-02-02T13:59:20Z")

</div>

It’s not passed encrypted. We encrypt it in the database and obscure it in the API endpoints. You can use ansibles debug module to print it out and see for yourself.

---

<div class="post-metadata">

**Author:** ![Claudio\_Patricio\_Rif](https://avatars.discourse-cdn.com/v4/letter/c/53a042/32.png) [@Claudio\_Patricio\_Rif](https://forum.ansible.com/u/Claudio_Patricio_Rif)\
**Post date:** [February 4, 2018, 5:28am UTC](https://forum.ansible.com/t/how-to-handle-the-password-field-of-a-survey-created-on-awx-job-template-on-a-playbook/26639/3 "2018-02-04T05:28:51Z")

</div>

Actually i have debug level set on the job log…  
The thing is that the job does not fail, but when i try to login using the new credentials the password is not accepted.  
The Log do not show the password, only states:

“password”: “VALUE\_SPECIFIED\_IN\_NO\_LOG\_PARAMETER”,

“password”: “NOT\_LOGGING\_PASSWORD”,

Also, I remember reading as a bug that the password was accesible on the log. Perhaps the behaviur has changed.

This is my playbook.
