摘要: 在直接使用 ansible 时候有-B -p 参数可以启用异步操作,然后返回一个 job_id 值 [root@master ansible]# ansible node1 -B 3600 -P 0 -m yum -a "name=ansible" -vv Using /etc/ansible/an 阅读全文
posted @ 2020-07-23 16:50 醒日是归时 阅读(402) 评论(0) 推荐(0) 编辑
摘要: yum模块 name 必选 指定安装包名 state 执行命令 present installed removed latest absent 其中installed and present等效 latest标志安装yum中最新版本,absent and removed 等效 表示删除安装包 dis 阅读全文
posted @ 2020-07-23 11:49 醒日是归时 阅读(3575) 评论(0) 推荐(0) 编辑