ansible command和shell的区别

mac2022-06-30  99

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

 

2、在使用ansible中的时候,默认的模块是-m command,从而模块的参数不需要填写,直接使用即可

转载于:https://www.cnblogs.com/fanren224/p/8525477.html

最新回复(0)