ansible-inventory — Ansible Documentation
docs.ansible.com › ansible › 2create 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--list-hosts¶ outputs a list of matching hosts; does not execute anything else--vars¶ Add vars to graph display, ignored unless used with –graph
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