Update intro_getting_started.rst (#72689)

Move the command output to immediately follow the example.
This commit is contained in:
gdiamond 2020-11-20 13:35:19 -07:00 committed by GitHub
parent 3add96909d
commit 35022e13a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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