Use the ansible-inventory command using the --graph: ansible-inventory -i inventory --graph
Pretty Print Ansible InventoryPretty print ansible inventriy using the --graph flagJuly 31, 2023Use the ansible-inventory command using the --graph:ansible-inventory -i inventory --graph