Update intro_getting_started.rst (#72689)
Move the command output to immediately follow the example.
This commit is contained in:
parent
3add96909d
commit
35022e13a8
1 changed files with 6 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue