From 8bcf6b0ee7e07a15d7c3e5877420133849c4de97 Mon Sep 17 00:00:00 2001 From: lpoujol Date: Fri, 3 Mar 2017 16:48:21 +0100 Subject: [PATCH] Oubli correction commande suivantes --- HowtoAnsible.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HowtoAnsible.md b/HowtoAnsible.md index 6aa3cda7..770483b0 100644 --- a/HowtoAnsible.md +++ b/HowtoAnsible.md @@ -56,10 +56,10 @@ localhost | SUCCESS => { "ping": "pong" } -$ echo HOSTNAME >> ~/.ansible/hosts && ssh-copy-id HOSTNAME && ansible HOSTNAME -i $HOME/.ansible/hosts --module ping --one-line +$ echo HOSTNAME >> ~/.ansible/hosts && ssh-copy-id HOSTNAME && ansible HOSTNAME -i $HOME/.ansible/hosts -m ping --one-line HOSTNAME | SUCCESS => {"changed": false, "ping": "pong"} -$ ansible HOSTNAME --module command --args "date" +$ ansible HOSTNAME -m command --args "date" HOSTNAME | SUCCESS | rc=0 >> jeudi 26 mai 2016, 23:16:01 (UTC+0200) ~~~