企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[admin@node1 tmp]$ ansible webserver -m shell -a '. ~/.bash_profile;ps -ef|grep nginx' 192.168.20.138 | SUCCESS | rc=0 >> root 12505 1 0 16:30 ? 00:00:00 nginx: master process /usr/sbin/nginx nginx 12506 12505 0 16:30 ? 00:00:00 nginx: worker process admin 12575 12574 0 16:33 pts/2 00:00:00 /bin/sh -c . ~/.bash_profile;ps -ef|grep nginx admin 12585 12575 0 16:33 pts/2 00:00:00 grep nginx 192.168.20.137 | SUCCESS | rc=0 >> root 20079 1 0 16:30 ? 00:00:00 nginx: master process /usr/sbin/nginx nginx 20080 20079 0 16:30 ? 00:00:00 nginx: worker process admin 20153 20148 0 16:33 pts/2 00:00:00 /bin/sh -c . ~/.bash_profile;ps -ef|grep nginx admin 20163 20153 0 16:33 pts/2 00:00:00 grep nginx