mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-07 19:53:33 +02:00
ansible-galaxy: add Chinese translation
This commit is contained in:
parent
9ddfb03f0b
commit
540ecb6084
1 changed files with 24 additions and 0 deletions
24
pages.zh/common/ansible-galaxy.md
Normal file
24
pages.zh/common/ansible-galaxy.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# ansible-galaxy
|
||||||
|
|
||||||
|
> 创建和管理Ansible角色.
|
||||||
|
> 主页: <https://docs.ansible.com/ansible/latest/cli/ansible-galaxy.html>.
|
||||||
|
|
||||||
|
- 安装一个角色:
|
||||||
|
|
||||||
|
`ansible-galaxy install {{username.role_name}}`
|
||||||
|
|
||||||
|
- 移除一个角色:
|
||||||
|
|
||||||
|
`ansible-galaxy remove {{username.role_name}}`
|
||||||
|
|
||||||
|
- 列出已安装的角色:
|
||||||
|
|
||||||
|
`ansible-galaxy list`
|
||||||
|
|
||||||
|
- 搜索一个指定的角色:
|
||||||
|
|
||||||
|
`ansible-galaxy search {{role_name}}`
|
||||||
|
|
||||||
|
- 创建一个新的角色:
|
||||||
|
|
||||||
|
`ansible-galaxy init {{role_name}}`
|
Loading…
Add table
Reference in a new issue