摘要: Command模块 在远程节点上执行命令 [root@tiandong ~]# ansible all -m command -a "ls" 在远程主机上执行ls命令。 [root@tiandong ~]# ansible all -m command -a "chdir=/tmp ls" 进入到/ 阅读全文
posted @ 2018-07-20 13:45 winterforever 阅读(323) 评论(0) 推荐(0)