1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Cleanup adhoc doc language regarding shell vs. command syntax

Fixes #7240
This commit is contained in:
James Cammarata 2016-09-08 14:23:13 -05:00
parent 81a4164207
commit 516bb6deea

View file

@ -94,10 +94,9 @@ specify that all of the time. We'll use ``-m`` in later examples to
run some other :doc:`modules`.
.. note::
The :ref:`command` module does not
support shell variables and things like piping. If we want to execute a module using a
shell, use the 'shell' module instead. Read more about the differences on the :doc:`modules`
page.
The :ref:`command` module does not support extended shell syntax like piping and redirects (although
shell variables will always work). If your command requires shell-specific syntax, use the `shell` module
instead. Read more about the differences on the :doc:`modules` page.
Using the :ref:`shell` module looks like this::