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
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