摘要: 命令模块 command # 默认模块, 执行命令 [root@m01 ~]# ansible web_group -a "hostname" shell # 如果需要一些管道操作,则使用shell [root@m01 ~]# ansible web_group -m shell -a "ps -e 阅读全文
posted @ 2020-06-09 20:19 元气少女郭德纲!! 阅读(416) 评论(0) 推荐(0) 编辑