# How to change Linux guest OS  name after clone vmware Linux VM

**URL:** <https://forum.ansible.com/t/how-to-change-linux-guest-os-name-after-clone-vmware-linux-vm/22386>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [August 25, 2016, 5:03pm UTC](https://forum.ansible.com/t/how-to-change-linux-guest-os-name-after-clone-vmware-linux-vm/22386 "2016-08-25T17:03:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danny\_Ben\_Av](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@Danny\_Ben\_Av](https://forum.ansible.com/u/Danny_Ben_Av)\
**Post date:** [August 25, 2016, 5:03pm UTC](https://forum.ansible.com/t/how-to-change-linux-guest-os-name-after-clone-vmware-linux-vm/22386/1 "2016-08-25T17:03:27Z")

</div>

Hello,

I new user with Ansible , I use this Playbook , but how can i change the Linux guest vm after cloning . when i clone the vm machine i get the same host name . i would like to use the name in the _ **host.vms** _ file .

Thank You ,

this is my playbook

#\> ansible-playbook -i hosts.vms clone\_playbook.yml

**_host.vms_**  
[vmcreate]  
mfp-svt-trial77 datastore=‘Qa-DataStore’ network=‘NET-10.100.227.0/25’

**_clone\_playbook.yml_**
