From 74196577a3295a98dc610306ef43879f4f36e6e7 Mon Sep 17 00:00:00 2001 From: gdiamond Date: Mon, 30 Nov 2020 07:59:27 -0700 Subject: [PATCH] added sample output for echo example (#72718) --- docs/docsite/rst/user_guide/intro_getting_started.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/docsite/rst/user_guide/intro_getting_started.rst b/docs/docsite/rst/user_guide/intro_getting_started.rst index d2ba3a89d59..b22d83df6bc 100644 --- a/docs/docsite/rst/user_guide/intro_getting_started.rst +++ b/docs/docsite/rst/user_guide/intro_getting_started.rst @@ -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.