Hi,
I have tried using ansible for vcenter management. I have follow the tutorial, however it doesn’t work. Please take a look at below :
root@ansible02:/etc/ansible# ansible-playbook test.yml -C
PLAY [vcenter] *****************************************************************
TASK [setup] *******************************************************************
ok: [vcenter]
TASK [create the VM] ***********************************************************
fatal: [vcenter]: FAILED! => {“changed”: false, “failed”: true, “msg”: “pyvmomi module required”}
to retry, use: --limit @/etc/ansible/test.retry
PLAY RECAP *********************************************************************
vcenter : ok=1 changed=0 unreachable=0 failed=1
Here is my test.yml