Andrew Mercer
on this page
    ansible all -i "localhost," -c local -m setup -a "filter=ansible_system_vendor" # Find whether a host is baremetal or virtual
    
    ansible all -i "localhost," -c local -m setup | grep ansible_fqdn     # Find fqdn
    ansible all -i "localhost," -c local -m setup | grep ansible_hostname # Find hostname
    
    ansible all --list-hosts # List all hosts in inventory