摘要: # 检查主机连接# ansible test -m ping # 执行远程命令# ansible test -m command -a 'uptime' # 执行主控端脚本# ansible test -m script -a '/etc/ansible/script/test.sh' # 执行远程 阅读全文
posted @ 2017-01-13 11:41 行知散人 阅读(3879) 评论(0) 推荐(0) 编辑