Oubli correction commande suivantes

This commit is contained in:
Ludovic Poujol 2017-03-03 16:48:21 +01:00
parent 78541e1a4b
commit 8bcf6b0ee7

View file

@ -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)
~~~