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:
parent
81a4164207
commit
516bb6deea
1 changed files with 3 additions and 4 deletions
|
@ -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::
|
||||
|
||||
|
|
Loading…
Reference in a new issue