fanlong0212

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

重启服务器:

ansible testhosts -a “/sbin/reboot”

字符转替换命令:将ABC替换长abc

ansible ansible-demo3 -m replace -a 'path=/testdir/test regexp="ABC" replace=abc'

posted on 2020-01-13 20:04  fanlong0212  阅读(94)  评论(0编辑  收藏  举报