🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
[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