Hi, My scenario is also same. Thanks. 

On Tuesday, 24 August 2021 at 21:08:12 UTC+5:30 [email protected] wrote:

> I required to do that ìn the past and the best way I found was to access 
> the kernel information:
>
> *shell: 'dmesg | grep "Hypervisor detected"'*
>
> I had to identify VMWare-based VMs or Physical server at that time.
>
> El martes, 24 de agosto de 2021 a la(s) 05:00:34 UTC-5, [email protected] 
> escribió:
>
>> Hi everyone, 
>>
>> Please help me to find host is virtual or physical from ansible facts.
>> Thanks. 
>> Is it possible to get the details from  "ansible_virtualization_type". Or 
>> is there any better idea.
>> Thanks in advance
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/24c7a468-0b40-4632-b075-9226fc8e2063n%40googlegroups.com.

Reply via email to