On 25.10.2016 11:09, Jörg Kastning wrote:
Hello folks,

I'm having difficulties using the vmware_guest module to create a guest vm
on my VMware vCenter 6. My playbook looks as follows:
# Create a new VM on an ESX server

- hosts: localhost
  tasks:
  - vsphere_guest:

[ snip ]


The error message implies that the parameter "datacenter" is not supported
by the module vmware_guest. But fromwhat is written in vmware_guest -
Manages virtualmachines in vcenter
<http://docs.ansible.com/ansible/vmware_guest_module.html> this is a
required parameter. Could some explain what's wrong here, please?

vsphere_guest != vmware_guest

vsphere_guest doesn’t have datacenter
https://docs.ansible.com/ansible/vsphere_guest_module.html

vmware_guest is a new module in the upcoming 2.2 release.

--
Kai Stian Olstad

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5a7e93e02f7c46fba01641d457070f35%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to