added sample output for echo example (#72718)
This commit is contained in:
parent
0fa1cd88ce
commit
74196577a3
1 changed files with 7 additions and 0 deletions
|
@ -87,6 +87,13 @@ Now run a live command on all of your nodes:
|
||||||
|
|
||||||
$ ansible all -a "/bin/echo hello"
|
$ 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
|
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…
Reference in a new issue