ansible command和shell的区别,ansibleshell


1、command模块不支持管道符和变量等,如果要使用这些,需要shell模块。

 

2、在使用ansible中的时候,默认的模块是-m command,可以省略

相关内容

    暂无相关文章