Update intro_getting_started.rst (#72689)

Move the command output to immediately follow the example.
pull/72705/head
gdiamond 4 years ago committed by GitHub
parent 3add96909d
commit 35022e13a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -69,12 +69,6 @@ Use the ping module to ping all the nodes in your inventory:
$ ansible all -m ping $ 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: You should see output for each host in your inventory, similar to this:
.. code-block:: ansible-output .. code-block:: ansible-output
@ -87,6 +81,12 @@ You should see output for each host in your inventory, similar to this:
"ping": "pong" "ping": "pong"
} }
Now run a live command on all of your nodes:
.. code-block:: bash
$ ansible all -a "/bin/echo hello"
Beyond the basics 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. 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