added sample output for echo example (#72718)

pull/72756/head
gdiamond 4 years ago committed by GitHub
parent 0fa1cd88ce
commit 74196577a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -87,6 +87,13 @@ Now run a live command on all of your nodes:
$ ansible all -a "/bin/echo hello"
You should see output for each host in your inventory, similar to this:
.. code-block:: ansible-output
aserver.example.org | CHANGED | rc=0 >>
hello
Beyond the basics
-----------------
By default Ansible uses SFTP to transfer files. If the machine or device you want to manage does not support SFTP, you can switch to SCP mode in :ref:`intro_configuration`. The files are placed in a temporary directory and executed from there.

Loading…
Cancel
Save