ansible-inventory

Show inventory

low risk

interactive breakdown — edit the command and press Explain
$ 
What it does

Displays hosts and groups. See the flags and examples below, and run `man ansible-inventory` for the full reference.

Examples
ansible-inventory --graphInventory graph · explain & risk-check →
Related
ansible
Open the full explainer →More in Terraform, Ansible & IaC

Reference text is hand-written and may be incomplete — check man ansible-inventory for your version. Test destructive commands on a non-production system first.