ansible-inventory(1) System administration commands ansible-inventory(1) (NAME) ansible-inventory - (inventory) JSON (SYNOPSIS) usage: ansible-inventory [-h] [--version] [-v] [-i INVENTORY] [-l SUBSET] [--flush-cache] [--vault-id VAULT_IDS] [-J | --vault-password-file VAULT_PASSWORD_FILES] [--playbook-dir BASEDIR] [-e EXTRA_VARS] [--list] [--host HOST] [--graph] [-y] [--toml] [--vars] [--export] [--output OUTPUT_FILE] [group] (DESCRIPTION) (inventory) . (COMMON OPTIONS) --graph --export --list (export) --flush-cache (fact cache) inventory --graph . (limit) --host 'HOST' . (limit) --list --output 'OUTPUT_FILE' --list --playbook-dir 'BASEDIR' playbook playbook . roles/ group_vars/ --toml TOML JSON --graph --vars --graph --vault-id vault . . --vault-password-file, --vault-pass-file vault --version -J, --ask-vault-password, --ask-vault-pass vault -e, --extra-vars key=value YAML/JSON @ . . -h, --help -i, --inventory, --inventory-file . . -l 'SUBSET', --limit 'SUBSET' -v, --verbose . -v -vvvvvv . -vvv -vvvv . . -y, --yaml YAML JSON --graph (ARGUMENTS) group --graph (INVENTORY) inventory . YAML ini . . (ENVIRONMENT) : ANSIBLE_INVENTORY -- ANSIBLE_CONFIG -- ansible.cfg . ansible-config . (FILES) /etc/ansible/hosts -- /etc/ansible/ansible.cfg -- ~/.ansible.cfg -- ./ansible.cfg -- ( ) . ANSIBLE_CONFIG . (AUTHOR) Michael DeHaan . (COPYRIGHT) (C) 2018 Red Hat, Inc | Ansible. GPLv3 . (SEE ALSO) ansible (1), ansible-config (1), ansible-console (1), ansible-doc (1), ansible-galaxy (1), ansible-playbook (1), ansible-pull (1), ansible-vault (1) : <> IRC CONTRIBUTING.md : <> Ansible 2.21.3 ansible-inventory(1)