Skip to content

Commit

Permalink
Update intro_getting_started.rst (ansible#72689)
Browse files Browse the repository at this point in the history
Move the command output to immediately follow the example.
  • Loading branch information
gdiamond authored Nov 20, 2020
1 parent 3add969 commit 35022e1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/docsite/rst/user_guide/intro_getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ Use the ping module to ping all the nodes in your inventory:
$ ansible all -m ping
Now run a live command on all of your nodes:

.. code-block:: bash
$ ansible all -a "/bin/echo hello"
You should see output for each host in your inventory, similar to this:

.. code-block:: ansible-output
Expand All @@ -87,6 +81,12 @@ You should see output for each host in your inventory, similar to this:
"ping": "pong"
}
Now run a live command on all of your nodes:

.. code-block:: bash
$ ansible all -a "/bin/echo 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.
Expand Down

0 comments on commit 35022e1

Please sign in to comment.