Thank you Giovanni!! That solved the problem. -Nitin
On Thursday, February 12, 2015 at 5:26:43 PM UTC+5:30, [email protected] wrote: > > I am getting below error while using Ansible (version 1.8.2) vSphere_guest > module, > > osboxes@osboxes:~$ ansible-playbook /etc/ansible/playbooks/main.yml -K > sudo password: > > PLAY [localhost] > ************************************************************** > > TASK: [vsphere_guest ] > ******************************************************** > failed: [localhost] => {"failed": true, "parsed": false} > SUDO-SUCCESS-ldmjglnajxpocoybboumisekhbbnmhnp > Traceback (most recent call last): > File > "/home/osboxes/.ansible/tmp/ansible-tmp-1423728228.54-220175308723408/vsphere_guest", > > line 2791, in <module> > main() > File > "/home/osboxes/.ansible/tmp/ansible-tmp-1423728228.54-220175308723408/vsphere_guest", > > line 1197, in main > config_check("vm_disk", vm_disk, proto_vm_disk, module) > File > "/home/osboxes/.ansible/tmp/ansible-tmp-1423728228.54-220175308723408/vsphere_guest", > > line 1012, in config_check > if diff.recursive_diff(): > File > "/home/osboxes/.ansible/tmp/ansible-tmp-1423728228.54-220175308723408/vsphere_guest", > > line 983, in recursive_diff > if k in self.check_dict[key]: > TypeError: argument of type 'NoneType' is not iterable > > > FATAL: all hosts have already failed -- aborting > > PLAY RECAP > ******************************************************************** > to retry, use: --limit @/home/osboxes/main.retry > > localhost : ok=0 changed=0 unreachable=0 failed=1 > > Did anybody face this issue before? It may be, I am doing some silly > mistake but unable to catch that. > > Thanks > -- 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/631d440b-5fdc-4b69-bda1-b70bfa226135%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
