The solution is to index the vsphere_guest module call under tasks, as
Michael Dehaan posted, like this:
- hosts: localhost
tasks:
- vsphere_guest:
vcenter_hostname: myvcenter
On Thursday, May 1, 2014 at 10:06:10 AM UTC-7, John Shen wrote:
>
> $ ansible-playbook vmtest.yml
> ERROR: v
Hi,
Did you get the resolution to the problem? I am also facing similar issue.
Thanks,
Prashant
On Thursday, 1 May 2014 22:36:10 UTC+5:30, John Shen wrote:
>
> $ ansible-playbook vmtest.yml
> ERROR: vsphere_guest is not a legal parameter in an Ansible Playbook
> $ ansible --version
> ansible 1.