From f8279f3d5c156fbcb5ecf5555949148328eeb77a Mon Sep 17 00:00:00 2001 From: Starccy <452276725@qq.com> Date: Mon, 25 Feb 2019 22:47:09 +0800 Subject: [PATCH] ansible: add Chinese translation --- pages.zh/common/ansible.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages.zh/common/ansible.md b/pages.zh/common/ansible.md index 95b541b2be..99bea4968b 100644 --- a/pages.zh/common/ansible.md +++ b/pages.zh/common/ansible.md @@ -6,24 +6,24 @@ - 列出给定组下的所有主机: -`ansible {{group}} --list-hosts` +`ansible {{组}} --list-hosts` - 调用ping模块来ping一组主机: -`ansible {{group}} -m ping` +`ansible {{组}} -m ping` - 通过调用安装模块来显示关于一组主机的信息: -`ansible {{group}} -m setup` +`ansible {{组}} -m setup` - 调用命令模块并使用给定的参数来对一组主机执行命令: -`ansible {{group}} -m command -a '{{my_command}}'` +`ansible {{组}} -m command -a '{{命令}}'` - 以管理员权限执行一个命令: -`ansible {{group}} --become --ask-become-pass -m command -a '{{my_command}}'` +`ansible {{组}} --become --ask-become-pass -m command -a '{{命令}}'` - 使用自定义的清单文件执行一个命令: -`ansible {{group}} -i {{inventory_file}} -m command -a '{{my_command}}'` +`ansible {{组}} -i {{清单文件}} -m command -a '{{命令}}'`