When trying to deploy a template (Ansible 1.9.6) as follows:
- hosts: 127.0.0.1
connection: local
user: root
sudo: false
gather_facts: false
serial: 1
tasks:
- vsphere_guest:
vcenter_hostname: XXXXXXXXX
username: XXXXXXXXXX
password: 'XXXXXX'
guest: testvm
from_template: yes
template_src: XXXXXXXXXXX
esxi:
datacenter: XXXXX
hostname: XXXXXXx
I get the error:
msg: parameters are required together: ['from_template', 'resource_pool',
'template_src']
Now this is well documented and was addressed some time back:
https://github.com/rce/ansible-modules-core/commit/1a8da60253ddeb761110102f2b4421ffdc36c401
"vsphere_guest now can deploy a template using a datacenter and hostname as
the target, instead of requiring a cluster and resource_pool."
Any idea why I appear to be seeing a regression here?
Jeff
--
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/a9be6056-d068-4410-8e26-044015fcc6a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.