摘要:
# 检查主机连接 # ansible test -m ping # 执行远程命令 # ansible test -m command -a 'uptime' # 执行主控端脚本 # ansible test -m script -a '/etc/ansible/script/test.sh' # 执行远程主机的脚本 # ansible test -m shell -a 'ps aux|grep ... 阅读全文
posted @ 2017-06-27 20:10
nineep
阅读(234)
评论(0)
推荐(0)

浙公网安备 33010602011771号