added sample output for echo example (#72718)

This commit is contained in:
gdiamond 2020-11-30 07:59:27 -07:00 committed by GitHub
parent 0fa1cd88ce
commit 74196577a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.