CmdID

CmdID / Commands

ansible-inventory

Display or dump an Ansible inventory. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Display the default inventory

ansible-inventory --listIdentify

Display a custom inventory

ansible-inventory --list --inventory-file path/to/file_or_script_or_directoryIdentify

Display the default inventory in YAML

ansible-inventory --list --yamlIdentify

Dump the default inventory to a file

ansible-inventory --list --output path/to/fileIdentify