# Change root user password for VMware servers using Ansible

**URL:** <https://forum.ansible.com/t/change-root-user-password-for-vmware-servers-using-ansible/34614>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [February 11, 2021, 8:47pm UTC](https://forum.ansible.com/t/change-root-user-password-for-vmware-servers-using-ansible/34614 "2021-02-11T20:47:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xinhuan\_Zheng](https://avatars.discourse-cdn.com/v4/letter/x/a88e57/32.png) [@Xinhuan\_Zheng](https://forum.ansible.com/u/Xinhuan_Zheng)\
**Post date:** [February 11, 2021, 8:47pm UTC](https://forum.ansible.com/t/change-root-user-password-for-vmware-servers-using-ansible/34614/1 "2021-02-11T20:47:53Z")

</div>

We have to change a number of VMware ESX servers root user’s password. The current process is using Power Shell to handle this task. Is there an Ansible playbook and/or Python VMware module that can be utilized to handle changing VMware ESX server root password?

Thank you!

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [February 11, 2021, 9:11pm UTC](https://forum.ansible.com/t/change-root-user-password-for-vmware-servers-using-ansible/34614/2 "2021-02-11T21:11:18Z")

</div>

[https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware\_local\_user\_manager\_module.html](https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_local_user_manager_module.html)
