add new chinese translations
This commit is contained in:
21
pages.zh/common/ansible-inventory.md
Normal file
21
pages.zh/common/ansible-inventory.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# ansible-inventory
|
||||
|
||||
> 显示或转储 Ansible 库存。
|
||||
> 另请参见:`ansible`。
|
||||
> 更多信息:<https://docs.ansible.com/ansible/latest/cli/ansible-inventory.html>。
|
||||
|
||||
- 显示默认库存:
|
||||
|
||||
`ansible-inventory --list`
|
||||
|
||||
- 显示自定义库存:
|
||||
|
||||
`ansible-inventory --list --inventory {{path/to/file_or_script_or_directory}}`
|
||||
|
||||
- 以 YAML 格式显示默认库存:
|
||||
|
||||
`ansible-inventory --list --yaml`
|
||||
|
||||
- 将默认库存转储到文件:
|
||||
|
||||
`ansible-inventory --list --output {{path/to/file}}`
|
Reference in New Issue
Block a user