mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 02:22:11 +02:00

* pages/*: fix small typos * Update ssh-copy-id.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * ansible-inventory: fix typo * Update pages/linux/zathura.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * gcloud: fix typo * fdesetup: mark as placeholder * icalbuddy: use general placeholder * ip: make it a placeholder * git-svn: fix typo * pages/*: fix typos * kubectl-get: add mnemonics and long options * kubectl-describe: add mnemonics and long options * pip-install: use short option * Update icalbuddy.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
519 B
519 B
ansible-inventory
Display or dump an Ansible inventory. See also:
ansible
. More information: https://docs.ansible.com/ansible/latest/cli/ansible-inventory.html.
- Display the default inventory:
ansible-inventory --list
- Display a custom inventory:
ansible-inventory --list --inventory {{path/to/file_or_script_or_directory}}
- Display the default inventory in YAML:
ansible-inventory --list --yaml
- Dump the default inventory to a file:
ansible-inventory --list --output {{path/to/file}}