摘要: 首先创建一个shell脚本 然后把该脚本分发到各个机器上 ansible compass -m copy -a "src=/tmp/df.sh dest=/tmp/df.sh mode=0755" 最后是批量执行该shell脚本 ansible compass -m shell -a "/tmp/d 阅读全文
posted @ 2018-08-10 17:12 Oops!# 阅读(1485) 评论(0) 推荐(0) 编辑
摘要: 添加定时任务,批量删除tag 为none 的镜像 ,释放磁盘空间 阅读全文
posted @ 2018-08-10 16:10 Oops!# 阅读(1557) 评论(0) 推荐(0) 编辑