How to find the machine uptime in vmware from ansible.
I want to find the host uptime without connecting to the machine.
using ansible
ansible_vm_facts
I could able to get some details like
os, machine_name
but I did not get the uptime.
I followed the following documnets but no luck. nothing worked for me. http://docs.ansible.com/ansible/latest/modules/vmware_vm_facts_module.html http://docs.ansible.com/ansible/latest/modules/vmware_host_module.html