ansible-inventory --graph

Category: IaC & Automation

ansible-inventory --graph

Show inventory hosts and groups as a tree

Renders the inventory as an ASCII tree of groups and their hosts, making membership and nesting easy to grasp. Great for auditing a large inventory, Ansible's list of hosts. Related: ansible-inventory --list -y.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.