ansible-inventory — Ansible Documentation
docs.ansible.com › cli › ansible-inventoryDec 21, 2021 · Common Options . When doing an –list, represent in a way that is optimized for export,not as an accurate representation of how Ansible has processed it. create inventory graph, if supplying pattern it must be a valid group name. When doing –list, send the inventory to a file instead of to the screen. Since this tool does not use playbooks ...
Working with Ansible Inventory - Oracle
docs.cloud.oracle.com › en-us › iaasThese data sources are accessed by using either the -i /path/to/file or the -i 'host1, host2' command line parameters, or from other configuration sources. You can run the inventory with this command, for example: ansible-inventory -i <filename>.oci.yml --graph. This produces output similar to the following:
GitHub - willthames/ansible-inventory-grapher
github.com › willthames › ansible-inventory-grapherSep 12, 2019 · Usage: ansible-inventory-grapher [options] pattern1 [pattern2...] Options: --version show program's version number and exit -h, --help show this help message and exit -i INVENTORY specify inventory host file [/etc/ansible/hosts] -d DIRECTORY Location to output resulting files [current directory] -o FORMAT, --format=FORMAT python format string to name output files (e.g. {}.dot) [defaults to ...