# VMs migration to from one host to another host

**URL:** <https://forum.ansible.com/t/vms-migration-to-from-one-host-to-another-host/28004>\
**Category:** Ansible Project\
**Created:** [July 10, 2018, 1:59pm UTC](https://forum.ansible.com/t/vms-migration-to-from-one-host-to-another-host/28004 "2018-07-10T13:59:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesh\_AR](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Post date:** [July 10, 2018, 1:59pm UTC](https://forum.ansible.com/t/vms-migration-to-from-one-host-to-another-host/28004/1 "2018-07-10T13:59:57Z")

</div>

Hi All.

I’m looking for a play book to migrate VMs from one host to another . Ansible module vmware\_vmotion define only one vm at a time but if the host has more VMs we can’t write the VM name in the playbook.

Any thoughts or any sample playbook ?

Thank you  
Ramesh
