# Can a password variable be set to address synchronize password request

**URL:** <https://forum.ansible.com/t/can-a-password-variable-be-set-to-address-synchronize-password-request/18442>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [June 9, 2015, 1:47am UTC](https://forum.ansible.com/t/can-a-password-variable-be-set-to-address-synchronize-password-request/18442 "2015-06-09T01:47:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![atkmh.public](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@atkmh.public](https://forum.ansible.com/u/atkmh.public)\
**Post date:** [June 9, 2015, 1:47am UTC](https://forum.ansible.com/t/can-a-password-variable-be-set-to-address-synchronize-password-request/18442/1 "2015-06-09T01:47:53Z")

</div>

Env: Linux 14.04 VMs in VmWare

I have successfully managed to enable synchronize with \< sudo: no \> in the task right before synchronize.I can enter passwords and successfully execute all module.yml files ( that incorporate synchronize )

But, I would rather supply a variable with the password in my main playbook, ansible.cfg or where ever it belongs.

Can you provide a brief example of location and code? Thank you.

If an actual explanation ( config details, task layout is necessary, I can provide. )

Curiously when the entire process is run from Vagrant on my mac spinning up multiple VMs Vbox on Mac no passwords necessary !
