【发布时间】:2018-04-09 14:08:04
【问题描述】:
如何从 ansible 找到 vmware 中的机器正常运行时间。
我想在不连接机器的情况下查找主机正常运行时间。
使用ansible
ansible_vm_facts
我可以得到一些细节,比如
操作系统,机器名
但我没有得到正常运行时间。
我遵循了以下文档但没有运气。没有什么对我有用。 http://docs.ansible.com/ansible/latest/modules/vmware_vm_facts_module.html http://docs.ansible.com/ansible/latest/modules/vmware_host_module.html
【问题讨论】:
标签: command ansible vmware uptime