From aab1bddf8081b4428aa216cd286746986ec4815c Mon Sep 17 00:00:00 2001 From: NewName Date: Wed, 14 Aug 2024 05:41:02 +0800 Subject: [PATCH] Update README.md --- tmp/README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tmp/README.md b/tmp/README.md index 5603398..3d3d9c1 100644 --- a/tmp/README.md +++ b/tmp/README.md @@ -212,9 +212,12 @@ ansible-playbook renwu.yml 临时对所有主机执行命令 ``` -ansible all -a "ls" +ansible all -a "pwd" +``` +临时对所有主机运行远程脚本 +``` +ansible all -m shell -a "bash <(wget -qO- https://github.com/sky22333/shell/raw/main/vmess-ws.sh)" ``` - --- ---