0
点赞
收藏
分享

微信扫一扫

ansible

圣杰 2023-02-27 阅读 127

远程机配置文件

vim /etc/ansible/hosts

推送文件到远程机器

ansible all -m copy -a "src=./filterRds.sh dest=/data/xxx/filterRdsLink.sh"

运行远程文件或命令

ansible all -m shell -a 'bash /home/zhangjinliang/filterRdsLink.sh'
举报

相关推荐

0 条评论