Was wandering if any one has ideas why vmware-guest cretes all vms on a particular host even though it is set to b e created a cluster? its not a show stopper - just curious.
i.e:
- name: Create a VM from a template
vmware_guest:
datacenter: “{{ vm_DataCenter }}”
cluster: “{{ vm_Cluster }}”
hostname: “{{ vcenter_hostname }}”
username: “{{ vcenter_user }}”
password: “{{ vcenter_pass }}”
validate_certs: no
folder: “/Production/Ansible/”
name: “{{ item.name }}”
annotation: “Created with Ansible on {{ creationdate }}”
state: poweredon
template: “{{ vmtemplate }}”
…
Thank you