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