ansible-inventory — Ansible Documentation
docs.ansible.com › cli › ansible-inventoryDec 21, 2021 · When doing an –list, represent in a way that is optimized for export,not as an accurate representation of how Ansible has processed it--graph create inventory graph, if supplying pattern it must be a valid group name--host <HOST> Output specific host info, works as inventory script--list Output all hosts info, works as inventory script