Hi, i meet the same issue, are you how to solved ?
PLAY [Revert the given snapshot for virtual machines] ***************************************************************************************************************************************************************
TASK [Gathering Facts] **********************************************************************************************************************************************************************************************
ok: [localhost]
TASK [get vm state] *************************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "PyVmomi Python module required. Install using \"pip install PyVmomi\""}
to retry, use: --limit @/etc/ansible/Vm_rollback_snapshost.retry
PLAY RECAP **********************************************************************************************************************************************************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1
Gathering Facts --------------------------------------------------------- 2.76s
get vm state ------------------------------------------------------------ 1.30s
Playbook finished: Thu Aug 16 16:41:51 2018, 2 total tasks. 0:00:04 elapsed.
[root@Georgeoelv1 ansible]# pip list | grep pyvmomi
pyvmomi 6.7.0
[root@Georgeoelv1 ansible]#
在 2018年1月17日星期三 UTC+8上午3:29:43,
ludm...@gmail.com写道: