From 977a7ef77eee2f0c2537b5206adc4a1f3c2d637b Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Fri, 28 Aug 2020 14:32:56 +0200 Subject: [PATCH] ajout d'exemple pour des commandes "ansible" --- HowtoAnsible.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HowtoAnsible.md b/HowtoAnsible.md index a4242762..cddefa60 100644 --- a/HowtoAnsible.md +++ b/HowtoAnsible.md @@ -73,6 +73,8 @@ Quelques exemples de commandes pratiques : ~~~ $ ansible "*" -bK --one-line --forks 42 -m command --args "grep foo /etc/passwd" +$ ansible "*" -bK --one-line --forks 42 -m command --args "lxc-ls" | grep CHANGED +$ ansible stretch -bK --one-line --forks 42 -m command --args "grep -r SFTPEngine /etc/proftpd" ~~~