Ansible vmware_guest creates vmware vm, but hostname does not changes. Also creates a additional junk folder

HI Everyone. this Ansible yaml script creates vmware vm from previous template, but does not changes its host name. also creates a additional folder named

here is the screen shot attached. The vmware_guest module creates Testmachine, but the hostname of the machine remains same when i login to centos machine.

also creates a junk folder named as “replica-e040a406-2f24-4c53-b719-67f42c1b9115”

Thanks in Advance. please give some solution. here is my yaml script attached.

cat us_vm.yaml

Hi Everyone,

I would like to close this issue, as it is resolved.